summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-22 22:55:33 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-24 20:03:51 +0100
commit6c374a1fa54d7b9827500449275e5f454e2be292 (patch)
tree0eed1d05e26296574f0531dac84bc09c673b4505 /cscript
parentcdbcdf6469604207e224ba43e7541a0f5eae6f0d (diff)
Add -x32/-x64 suffix to boost libraries when building for Windows.v0.17.3win32-crash
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index b440d55..8f95c91 100644
--- a/cscript
+++ b/cscript
@@ -29,7 +29,7 @@ def build(target, options):
# build as test/tests.cc defines BOOST_TEST_DYN_LINK
cmd += ' --disable-tests'
elif target.platform == 'windows':
- cmd += ' --target-windows'
+ cmd += f' --target-windows-{target.bits}'
target.command(cmd)
target.command('./waf build install')