diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2014-04-21 11:46:57 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2014-04-21 11:48:10 +0200 |
commit | f4a7cf902afabc737cd99657b46f6d73e3b8da06 (patch) | |
tree | f03819be89e9071e567e7dd6c088c5322125d3ee /numpy/distutils/fcompiler/intel.py | |
parent | e8a9e84a34ca9a45acfde938298f7e5dac609d75 (diff) | |
download | numpy-f4a7cf902afabc737cd99657b46f6d73e3b8da06.tar.gz |
BLD: remove "-Wl,-framework,Python" from linker flags for Intel compiler.
The "-Wl,-undefined,dynamic_lookup" flag is enough to make things work
with OS X bundles. On the mailing list an issue was reported with
Anaconda (non-framework build) where f2py was picking up the system framework
Python instead of the Anaconda one.
Thanks to Robert Kern for explaining how to fix this.
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r-- | numpy/distutils/fcompiler/intel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py index 4c81987a1..a80e525e3 100644 --- a/numpy/distutils/fcompiler/intel.py +++ b/numpy/distutils/fcompiler/intel.py @@ -68,7 +68,7 @@ class IntelFCompiler(BaseIntelFCompiler): opt.remove('-shared') except ValueError: idx = 0 - opt[idx:idx] = ['-dynamiclib', '-Wl,-undefined,dynamic_lookup', '-Wl,-framework,Python'] + opt[idx:idx] = ['-dynamiclib', '-Wl,-undefined,dynamic_lookup'] return opt class IntelItaniumFCompiler(IntelFCompiler): |