X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fwscript;h=2fbbdacbf881d84390fcb0b9e7281809b56cbbd0;hb=a0856e3fbef17f24073b01cb96be6bbcb229ecbc;hp=61c391663496477306d0cfe24674c622f8081a7b;hpb=92cafb6fc686a041354da2eabde6bcb2f6846e1d;p=dcpomatic.git diff --git a/test/wscript b/test/wscript index 61c391663..2fbbdacbf 100644 --- a/test/wscript +++ b/test/wscript @@ -1,9 +1,13 @@ def configure(conf): + boost_test_suffix='' + if conf.env.TARGET_WINDOWS: + boost_test_suffix='-mt' + conf.check_cxx(fragment = """ #define BOOST_TEST_MODULE Config test\n #include \n int main() {} - """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework-mt', uselib_store = 'BOOST_TEST') + """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework%s' % boost_test_suffix, uselib_store = 'BOOST_TEST') def build(bld): obj = bld(features = 'cxx cxxprogram')