Skip to content

Commit d5cf52d

Browse files
committed
compilation
1 parent dd69860 commit d5cf52d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

api/c/SConstruct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ if fftw:
4848
rpc = env.get('HAVE_RPC')
4949
if rpc:
5050
env.Prepend(CPPDEFINES=['SF_HAS_RPC'])
51+
52+
if env['PLATFORM'] == 'darwin':
53+
env.Prepend(CPPDEFINES=['ACCELERATE_NEW_LAPACK'])
5154

5255
sobjs = []
5356

api/python/SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if env.get('SWIG') and env.get('NUMPY'):
8282
LDMODULEPREFIX='_c_',
8383
LDMODULESUFFIX=ldmsuffix,
8484
FRAMEWORKSFLAGS='-flat_namespace '
85-
'-undefined suppress')
85+
'-undefined dynamic_lookup')
8686

8787
pfiles = [python,wrap[1],module+'.py']
8888
env.Install('../../lib',pfiles)

0 commit comments

Comments
 (0)