13
0

potential fix for ./waf configure problems introduced last night

git-svn-id: svn://localhost/ardour2/branches/3.0@12180 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-04 12:29:43 +00:00
parent df1e19f68c
commit 76e83768dc

View File

@ -568,9 +568,9 @@ def configure(conf):
# finding curl can be tricky # finding curl can be tricky
# #
if Options.options.also_libdir != '': if Options.options.also_libdir != '':
curl_linkflags = "-L" + Options.options.also_libdir + " -lcurl -lssl -lcrypto" curl_linkflags = [ '-L' + Options.options.also_libdir, '-lcurl', '-lssl', '-lcrypto' ]
else: else:
curl_linkflags = "-lcurl -lssl -lcrypto" curl_linkflags = [ '-lcurl', '-lssl', '-lcrypto' ]
conf.check_cc(function_name='curl_global_init', header_name='curl/curl.h', linkflags=curl_linkflags, uselib_store='CURL') 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 # Tell everyone that this is a waf build