diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-04 02:46:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-04 02:46:42 +0000 |
commit | 56129b4b728edd39dd54467df68df2d2fd39c6c5 (patch) | |
tree | 4ac011cbf92e3de022e16b87f4e5a04bf083fc67 /wscript | |
parent | ffcbc9ab9e43f04dfa4588e7c88f038c4fc39bed (diff) |
try to use --also-libdir to try to find curl
git-svn-id: svn://localhost/ardour2/branches/3.0@12171 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -564,7 +564,14 @@ def configure(conf): conf.env['INCLUDES_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') + # + # finding curl can be tricky + # + if Options.options.also_libdir != '': + curl_linkflags = "-L" + Options.options.also_libdir + " -lcurl" + else: + curl_linkflags = "-lcurl" + 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 |