Automatically set EXEEXT in build-mingw-w64.sh and strip-llvm.sh

This commit is contained in:
Martin Storsjö committed 2018-11-30 12:03:09 +02:00
1 parent 9e7a6e0afb
commit 1f838437ca
2 files changed
+16

No files matched your search

+8
View File
@@ -99,6 +99,14 @@ if [ -n "$HOST" ]; then
CONFIGFLAGS="$CONFIGFLAGS --host=$HOST"
CROSS_NAME=$HOST-
EXEEXT=.exe
else
case $(uname) in
MINGW*)
EXEEXT=.exe
;;
*)
;;
esac
fi
if [ -n "$SKIP_INCLUDE_TRIPLET_PREFIX" ]; then
CONFIGFLAGS="$CONFIGFLAGS --with-widl-includedir=$PREFIX/include"