mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
use pkg-config to find curl and assume that version 7.X has curl_global_init
git-svn-id: svn://localhost/ardour2/branches/3.0@12181 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
76e83768dc
commit
8a4ad6480c
1 changed files with 1 additions and 8 deletions
9
wscript
9
wscript
|
|
@ -556,6 +556,7 @@ def configure(conf):
|
|||
autowaf.check_pkg(conf, 'glibmm-2.4', uselib_store='GLIBMM', atleast_version='2.14.0')
|
||||
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.18')
|
||||
autowaf.check_pkg(conf, 'giomm-2.4', uselib_store='GIOMM', atleast_version='2.2')
|
||||
autowaf.check_pkg(conf, 'libcurl', uselib_store='CURL', atleast_version='7.0.0')
|
||||
|
||||
for i in children:
|
||||
sub_config_and_use(conf, i)
|
||||
|
|
@ -564,14 +565,6 @@ def configure(conf):
|
|||
conf.env['INCLUDES_FLAC'] = []
|
||||
|
||||
conf.check_cc(function_name='dlopen', header_name='dlfcn.h', linkflags='-ldl', uselib_store='DL')
|
||||
#
|
||||
# finding curl can be tricky
|
||||
#
|
||||
if Options.options.also_libdir != '':
|
||||
curl_linkflags = [ '-L' + Options.options.also_libdir, '-lcurl', '-lssl', '-lcrypto' ]
|
||||
else:
|
||||
curl_linkflags = [ '-lcurl', '-lssl', '-lcrypto' ]
|
||||
conf.check_cc(function_name='curl_global_init', header_name='curl/curl.h', linkflags=curl_linkflags, uselib_store='CURL')
|
||||
|
||||
# Tell everyone that this is a waf build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue