13
0

Don't check for 'dlopen' or 'dlfcn.h' if we're building with MSVC

This commit is contained in:
John Emmas 2014-12-22 17:38:30 +00:00
parent 35537aac69
commit 92376a657d

View File

@ -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,