diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-12-22 17:38:30 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-12-22 17:38:30 +0000 |
commit | 92376a657d85b80375fca1aba20af74a00fc1f29 (patch) | |
tree | 9b0e53d2cf3d96434403b8cbf556ab54a9ccf512 /wscript | |
parent | 35537aac692148fd59955c3d4c85ffeb8bcb527a (diff) |
Don't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -804,7 +804,8 @@ def configure(conf): # executing a test program is n/a when cross-compiling if Options.options.dist_target != 'mingw': - conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL') + if Options.options.dist_target != 'msvc': + conf.check_cc(function_name='dlopen', header_name='dlfcn.h', lib='dl', uselib_store='DL') conf.check_cxx(fragment = "#include <boost/version.hpp>\nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n", execute = "1", mandatory = True, |