Support cross compilation to non-windows targets
Don't have --host/$HOST imply targeting Windows, but actually inspect the target triple where necessary.
This commit is contained in:
1 parent
c49af4399a
commit
06f44cda62
4 files changed
+57
-24
No files matched your search
@@ -62,7 +62,11 @@ fi
|
||||
if [ -n "$HOST" ]; then
|
||||
CONFIGFLAGS="$CONFIGFLAGS --host=$HOST"
|
||||
CROSS_NAME=-$HOST
|
||||
EXEEXT=.exe
|
||||
case $HOST in
|
||||
*-mingw32)
|
||||
EXEEXT=.exe
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case $(uname) in
|
||||
MINGW*)
|
||||
|
||||
Reference in new issue
Block a user