Update for MXE builds. mxe
authorCarl Hetherington <cth@carlh.net>
Fri, 21 Jul 2017 00:39:05 +0000 (01:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 21 Jul 2017 00:39:05 +0000 (01:39 +0100)
cscript

diff --git a/cscript b/cscript
index 1c5dcd029eb4572f661c5e51f43fd675fe56c8d0..74b5202d1b521fa2ef7af62619ec9c0b57d05b99 100644 (file)
--- a/cscript
+++ b/cscript
@@ -26,7 +26,7 @@ def build(target, options):
         target.set('LDFLAGS', '-lpulse')
     elif target.platform == 'windows':
         target.append_with_space('CXXFLAGS', '-Iinclude')
-        cmd += '--with-wasapi --with-ds --host=%s-w64-mingw32' % target.mingw_name
+        cmd += '--with-wasapi --with-ds --host=%s' % target.name
     elif target.platform == 'osx':
         cmd += '--with-core'