summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-08 02:20:45 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-08 02:20:45 +0000
commitcd141a9d57e67bb7c921d720807493f3b2c68cba (patch)
treedddfe3574a2aa619de4b813d796d9234baf18353 /wscript
parente0ad227381ca5caa921ad36473c6297398e28b89 (diff)
Explicitly check for and link libcurl and the dl* functions; allows linking with gold.
git-svn-id: svn://localhost/ardour2/branches/3.0@7567 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index b27cb9e493..ca584987c1 100644
--- a/wscript
+++ b/wscript
@@ -498,6 +498,9 @@ def configure(conf):
# Fix utterly braindead FLAC include path to not smash assert.h
conf.env['CPPPATH_FLAC'] = []
+ conf.check_cc(function_name='dlopen', header_name='dlfcn.h', linkflags='-ldl', uselib_store='DL')
+ conf.check_cc(function_name='curl_global_init', header_name='curl/curl.h', linkflags='-lcurl', uselib_store='CURL')
+
# Tell everyone that this is a waf build
conf.env.append_value('CCFLAGS', '-DWAF_BUILD')