summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-26 01:11:23 +0100
committerRobin Gareus <robin@gareus.org>2020-01-26 01:11:23 +0100
commit674116b15658f2af64cdb15ce6353ef4596e1aaf (patch)
treec66f48b1b80f3f7630efe61911e84bde4ef1e397 /wscript
parent83e4b9f7eb3dd420767c9c913b2a709379b6c4fe (diff)
Fix configuration with gcc-9
Libraries need to be specified in order as last argument, not as linkflag.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index b0d60e59bb..62590e5c1c 100644
--- a/wscript
+++ b/wscript
@@ -1057,7 +1057,7 @@ def configure(conf):
conf.check_cc(
msg="Checking for function 'dlopen' in dlfcn.h",
fragment = "#include <dlfcn.h>\n int main(void) { dlopen (\"\", 0); return 0;}\n",
- linkflags='-ldl', uselib_store='DL', execute = False)
+ lib='dl', uselib_store='DL', execute = False)
conf.check_cxx(fragment = "#include <boost/version.hpp>\n#if !defined (BOOST_VERSION) || BOOST_VERSION < 105600\n#error boost >= 1.56 is not available\n#endif\nint main(void) { return 0; }\n",
execute = False,