We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334f715 commit ab2423bCopy full SHA for ab2423b
build-mingw-w64-libraries.sh
@@ -50,6 +50,11 @@ if [ ! -d mingw-w64 ] || [ -n "$SYNC" ]; then
50
CHECKOUT_ONLY=1 ./build-mingw-w64.sh
51
fi
52
53
+MAKE=make
54
+if command -v gmake >/dev/null; then
55
+ MAKE=gmake
56
+fi
57
+
58
cd mingw-w64/mingw-w64-libraries
59
for lib in winpthreads winstorecompat; do
60
cd $lib
@@ -61,8 +66,8 @@ for lib in winpthreads winstorecompat; do
61
66
../configure --host=$arch-w64-mingw32 --prefix="$arch_prefix" --libdir="$arch_prefix/lib" \
62
67
CFLAGS="$USE_CFLAGS" \
63
68
CXXFLAGS="$USE_CFLAGS"
64
- make -j$CORES
65
- make install
69
+ $MAKE -j$CORES
70
+ $MAKE install
71
cd ..
72
mkdir -p "$arch_prefix/share/mingw32"
73
install -m644 COPYING "$arch_prefix/share/mingw32/COPYING.${lib}.txt"
0 commit comments