From 92376a657d85b80375fca1aba20af74a00fc1f29 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Mon, 22 Dec 2014 17:38:30 +0000 Subject: [PATCH] Don't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index d674114477..9e8245c11c 100644 --- a/wscript +++ b/wscript @@ -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 \nint main(void) { return (BOOST_VERSION >= 103900 ? 0 : 1); }\n", execute = "1", mandatory = True,