summaryrefslogtreecommitdiff
path: root/test/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-22 22:56:48 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-14 23:05:20 +0100
commit6644ae5a98b7a7b5570e454645ceaaabd87fc8ba (patch)
treef177eaf5cc4e375d1b7e67ba4a5f19de491b726d /test/wscript
parenta388179feaab06987f427432ff9687bde61ca72a (diff)
Add -x32/-x64 suffix to boost libraries when building for Windows.
Diffstat (limited to 'test/wscript')
-rw-r--r--test/wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/wscript b/test/wscript
index 29b3e487..62d258bf 100644
--- a/test/wscript
+++ b/test/wscript
@@ -32,8 +32,10 @@
#
def configure(conf):
- if conf.options.target_windows:
- boost_lib_suffix = '-mt'
+ if conf.options.target_windows_64:
+ boost_lib_suffix = '-mt-x64'
+ elif conf.options.target_windows_32:
+ boost_lib_suffix = '-mt-x32'
else:
boost_lib_suffix = ''