diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-22 22:08:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-22 22:08:27 +0100 |
| commit | 9f90ec8acaa88ab4011fdf4273941210a52a3090 (patch) | |
| tree | 0773cabe3118762c005851f6e498fc21e6a0a23a /test/wscript | |
| parent | 5bf586a64f461f8b5521090e8d34e23ef6f21c1e (diff) | |
More Win32 fixes.
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/wscript b/test/wscript index 9c3eb68..8e9b2a7 100644 --- a/test/wscript +++ b/test/wscript @@ -1,11 +1,14 @@ def configure(conf): + if conf.env.TARGET_WINDOWS: + boost_lib_suffix = '-mt' + conf.check_cxx(fragment=""" #define BOOST_TEST_MODULE Config test\n #include <boost/test/unit_test.hpp>\n int main() {} """, msg='Checking for boost unit testing library', - lib='boost_unit_test_framework', + lib='boost_unit_test_framework%s' % boost_lib_suffix, uselib_store='BOOST_TEST') conf.env.prepend_value('LINKFLAGS', '-Lsrc') |
