summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-25 13:30:59 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-25 13:30:59 +0100
commit4233dd7e462e4972c04141e841fc4b8d91bee917 (patch)
tree9067c30e999f94e20f59ba2e266b4d035f12956f
parent5d8bffdc9109b04e64477f6cd774dfc234ffb037 (diff)
Fix for newer cdist.
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 4ea44c9d..34ba4918 100644
--- a/cscript
+++ b/cscript
@@ -4,7 +4,7 @@ def build(target, options):
if target.platform == 'osx':
cmd += ' --disable-dependency-tracking'
if target.platform == 'windows':
- cmd += ' --host=%s-w64-mingw32' % target.mingw_name
+ cmd += ' --host=%s' % target.name
target.command(cmd)
target.command('make -j2 V=1')