diff options
author | Robin Gareus <robin@gareus.org> | 2014-03-04 18:53:43 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-03-04 18:53:43 +0100 |
commit | 1c839ed541812f3867a31ff0f8a077a688784c51 (patch) | |
tree | ce565e17ddd44f00209946b4506c99409d21644f /wscript | |
parent | 912f07b919c1ec44f0cdd5278d74a9bc29b91846 (diff) |
some more mingw x-compile fixes
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -654,7 +654,9 @@ def configure(conf): if Options.options.boost_sp_debug: conf.env.append_value('CXXFLAGS', '-DBOOST_SP_ENABLE_DEBUG_HOOKS') - conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n", + # executing a test program is n/a when cross-compiling + if Options.options.dist_target != 'mingw': + conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n", execute = "1", mandatory = True, msg = 'Checking for boost library >= 1.39', |