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
|
@ -264,7 +264,7 @@ def build(bld):
|
|||
else:
|
||||
obj.target = 'ardour-3.0'
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.uselib = 'UUID FLAC GLIBMM GTHREAD GTK GNOMECANVAS OGG ALSA'
|
||||
obj.uselib = 'UUID FLAC GLIBMM GTHREAD GTK GNOMECANVAS OGG ALSA CURL DL'
|
||||
obj.uselib += ' GTKMM GNOMECANVASMM OSX GTKOSX COREAUDIO'
|
||||
obj.uselib_local = '''libpbd libmidipp libtaglib libardour libardour_cp
|
||||
libgtkmm2ext libtaglib'''
|
||||
|
|
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…
Reference in New Issue
Block a user