Quote uses of $PREFIX in the build script, to improve support for installing into a path that contains spaces

For build-mingw-w64.sh to succeed when installing to such a path,
the mingw-w64 version has to be updated to the latest git master.

build-mingw-w64-libraries.sh still fails in this case, as libtool
fails to properly quote $LD in a test for whether the linker is GNU ld.
This commit is contained in:
Martin Storsjö committed 2019-12-03 21:49:53 +02:00
1 parent ee555b9013
commit 64d39428b6
7 files changed
+49 -49

No files matched your search

+5 -5
View File
@@ -42,10 +42,10 @@ for arch in $ARCHS; do
mkdir -p build-$arch
cd build-$arch
make -f ../Makefile -j$CORES CROSS=$arch-w64-mingw32-
mkdir -p $PREFIX/$arch-w64-mingw32/bin
cp libssp.a $PREFIX/$arch-w64-mingw32/lib
cp libssp_nonshared.a $PREFIX/$arch-w64-mingw32/lib
cp libssp.dll.a $PREFIX/$arch-w64-mingw32/lib
cp libssp-0.dll $PREFIX/$arch-w64-mingw32/bin
mkdir -p "$PREFIX/$arch-w64-mingw32/bin"
cp libssp.a "$PREFIX/$arch-w64-mingw32/lib"
cp libssp_nonshared.a "$PREFIX/$arch-w64-mingw32/lib"
cp libssp.dll.a "$PREFIX/$arch-w64-mingw32/lib"
cp libssp-0.dll "$PREFIX/$arch-w64-mingw32/bin"
cd ..
done