From 003de48cd0371a60d095dc9d02ed5763c410cf5e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 May 2013 12:00:36 +0100 Subject: Build fixes for OS X. --- test/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/wscript') diff --git a/test/wscript b/test/wscript index 15d5410b3..5de1a99ce 100644 --- a/test/wscript +++ b/test/wscript @@ -3,7 +3,7 @@ def configure(conf): #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', uselib_store = 'BOOST_TEST') def build(bld): obj = bld(features = 'cxx cxxprogram') -- cgit v1.2.3 From b8a5a3e32ca4459cc0ce9715d905210f8688cb1c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 May 2013 23:20:19 +0100 Subject: Try to fix windows build. --- test/wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/wscript') diff --git a/test/wscript b/test/wscript index 5de1a99ce..f1a508a53 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', 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') -- cgit v1.2.3