Skip to content

Commit

Permalink
fixup! Workarounds for GNU Autotools (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeto committed Jul 4, 2024
1 parent df63cea commit 1298762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ RUN printf "id ICON \"$PREFIX/src/w64devkit.ico\"" >w64devkit.rc \
&& $ARCH-gcc -DEXE=pkg-config.exe -DCMD=pkg-config \
-Os -fno-asynchronous-unwind-tables -Wl,--gc-sections -s -nostdlib \
-o $PREFIX/bin/$ARCH-pkg-config.exe $PREFIX/src/alias.c -lkernel32 \
&& sed -i s/'\<ARCH\>'/$ARCH/g $PREFIX/src/profile \
&& mkdir -p $PREFIX/$ARCH/lib/pkgconfig \
&& cp /mingw-w64-v$MINGW_VERSION/COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt \
$PREFIX/ \
Expand Down
2 changes: 1 addition & 1 deletion src/profile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# the busybox-w32 ash patch for libtool.
export PATH_SEPARATOR=';'
export ac_executable_extensions=.exe
export build_alias=$(gcc -dumpmachine)
export build_alias=ARCH

0 comments on commit 1298762

Please sign in to comment.