Forward port LV2 BPM and freewheeling port stuff from 2.0-ongoing.
[ardour.git] / wscript
diff --git a/wscript b/wscript
index fdbb281ed07b17e2fefa5c49f561a7b62e8a1f02..08a3827f474f92a0a9736f48ade51807132a97c8 100644 (file)
--- a/wscript
+++ b/wscript
@@ -453,8 +453,8 @@ def configure(conf):
         # libintl may or may not be trivially locatable
         if not os.path.isfile ('/usr/include/libintl.h'):
             # XXXX hack hack hack
-            prefinclude = ' '.join ('-I', os.path.expanduser ('~/gtk/inst/include'))
-            preflib = ' '.join ('-L', os.path.expanduser ('~/gtk/inst/lib'))
+            prefinclude = ''.join ([ '-I', os.path.expanduser ('~/gtk/inst/include') ])
+            preflib = ''.join ([ '-L', os.path.expanduser ('~/gtk/inst/lib') ])
             conf.env.append_value('CFLAGS', [ prefinclude ])
             conf.env.append_value('CXXFLAGS',  [prefinclude ])
             conf.env.append_value('LINKFLAGS', [ preflib ])
@@ -511,7 +511,7 @@ def configure(conf):
         conf.env.append_value('LINKFLAGS_OSX', ['-flat_namespace'])
 
         conf.env.append_value('CXXFLAGS_AUDIOUNITS', "-DAUDIOUNIT_SUPPORT")
-        conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Audiotoolbox', '-framework', 'AudioUnit'])
+        conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'AudioToolbox', '-framework', 'AudioUnit'])
         conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Cocoa'])
 
         if not Options.options.freebie: