mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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
This commit is contained in:
parent
e0ad227381
commit
cd141a9d57
2 changed files with 4 additions and 1 deletions
3
wscript
3
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue