From 1bdf50625d1ff7a36985dd2591894fae0037bd8c Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 7 Feb 2013 23:40:28 +0000 Subject: [PATCH] [Cython] Fixed specification of the Accelerate framework on OS X --- interfaces/cython/SConscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interfaces/cython/SConscript b/interfaces/cython/SConscript index f2cd3054b..6ac76f3f3 100644 --- a/interfaces/cython/SConscript +++ b/interfaces/cython/SConscript @@ -88,6 +88,11 @@ else: localenv['py_extra_compiler_args'] = repr(['-fprofile-arcs', '-ftest-coverage']) localenv['py_extra_link_args'] = repr(['-fprofile-arcs', '-ftest-coverage']) +if 'LDFLAGS' not in localenv['ENV']: + localenv['ENV']['LDFLAGS'] = '' +for framework in localenv['FRAMEWORKS']: + localenv['ENV']['LDFLAGS'] += ' -framework ' + framework + dataFiles = localenv.RecursiveInstall('#interfaces/cython/cantera/data', '#build/data') build(dataFiles)