Add -x32/-x64 suffix to boost libraries when building for Windows.
[libcxml.git] / cscript
diff --git a/cscript b/cscript
index b440d5511f5f1c01949bf709ebffb1028d23188e..8f95c91a0517cd59bb150676cb523eaec4d9fc0f 100644 (file)
--- 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')