wscript: add Accelerate framework on osx
authorPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 10:35:23 +0000 (12:35 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 10:35:23 +0000 (12:35 +0200)
wscript

diff --git a/wscript b/wscript
index d58a666..99885b2 100644 (file)
--- a/wscript
+++ b/wscript
@@ -66,6 +66,8 @@ def configure(conf):
         #, '/DWIN32', '/D_WINDOWS', '/D_USRDLL', '/D_WINDLL'
         conf.env.append_value('LINKFLAGS', '/EXPORT:vampGetPluginDescriptor')
         conf.env.append_value('LINKFLAGS', '/NODEFAULTLIB:LIBCMT')
+    elif sys.platform == 'darwin':
+        conf.env.FRAMEWORK += ['Accelerate']
 
 def build(bld):
     # Host Library