potential fix for ./waf configure problems introduced last night
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 May 2012 12:29:43 +0000 (12:29 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 4 May 2012 12:29:43 +0000 (12:29 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12180 d708f5d6-7413-0410-9779-e7cbd77b26cf

wscript

diff --git a/wscript b/wscript
index 407ffec57228c3b65c34c661b12673a447fe8eaf..e5f58d15d4aeb6b50a1b14d4f99169ea6139a829 100644 (file)
--- a/wscript
+++ b/wscript
@@ -568,9 +568,9 @@ def configure(conf):
     # finding curl can be tricky
     # 
     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:
-        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')
 
     # Tell everyone that this is a waf build