summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-22 23:06:29 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-24 21:13:14 +0100
commit02d8f881481dae127d5e85094d5059666a13a35d (patch)
treece2bfbcdc3feebaaba752a1ccfbcbd8702cf3d4d /cscript
parent8f23c6c904d17e468bf94397fee28e1242cb1651 (diff)
Add -x32/-x64 suffix to boost libraries when building for Windows.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index d97e1d9..22be13a 100644
--- a/cscript
+++ b/cscript
@@ -4,7 +4,7 @@ def build(target, options):
if target.platform == 'linux':
cmd += ' --static'
elif target.platform == 'windows':
- cmd += ' --target-windows'
+ cmd += f' --target-windows-{target.bits}'
target.append_with_space('LIBS', '-lboost_system')
target.append_with_space('LIBS', '-lboost_filesystem')