diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-08 02:20:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-08 02:20:45 +0000 |
commit | cd141a9d57e67bb7c921d720807493f3b2c68cba (patch) | |
tree | dddfe3574a2aa619de4b813d796d9234baf18353 /wscript | |
parent | e0ad227381ca5caa921ad36473c6297398e28b89 (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-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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') |