diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-02 23:03:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-02 23:03:08 +0100 |
| commit | a0856e3fbef17f24073b01cb96be6bbcb229ecbc (patch) | |
| tree | 13fd6191f2c4d82943cbcfa1f34688552cfc1f8e /test/wscript | |
| parent | e6d086fff404d9fe5ac080f9e75334eeb315c1da (diff) | |
| parent | 42866530db49e0faf367ad28a55c658be60951bf (diff) | |
Merge master.
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 6 |
1 files changed, 5 insertions, 1 deletions
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 <boost/test/unit_test.hpp>\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') |
