More windows hacks.
authorCarl Hetherington <cth@carlh.net>
Thu, 11 Apr 2013 06:48:36 +0000 (07:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 11 Apr 2013 06:48:36 +0000 (07:48 +0100)
test/wscript
wscript

index 8868a36a7d4d4c24b7fe865820f8ca5f9a3be6e7..ae84f63f169c915895c0b4d413082c20285cc170 100644 (file)
@@ -1,13 +1,4 @@
 def configure(conf):
-    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', 'boost_system'],
-                              uselib_store = 'BOOST_TEST')
-
     conf.env.prepend_value('LINKFLAGS', '-Lsrc')
 
 def build(bld):
diff --git a/wscript b/wscript
index 1699f5acbcb2519ccc0eaf6b503f09138392065c..64c36134a41496f96b3f0ba3a3d0e2ba3be3d4a8 100644 (file)
--- a/wscript
+++ b/wscript
@@ -27,6 +27,15 @@ def configure(conf):
                    lib = ['boost_filesystem%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
                    uselib_store = 'BOOST_FILESYSTEM')
 
+    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%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
+                              uselib_store = 'BOOST_TEST')
+
     conf.recurse('test')
 
 def build(bld):