summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/intel.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2014-04-21 11:46:57 +0200
committerRalf Gommers <ralf.gommers@googlemail.com>2014-04-21 11:48:10 +0200
commitf4a7cf902afabc737cd99657b46f6d73e3b8da06 (patch)
treef03819be89e9071e567e7dd6c088c5322125d3ee /numpy/distutils/fcompiler/intel.py
parente8a9e84a34ca9a45acfde938298f7e5dac609d75 (diff)
downloadnumpy-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.py2
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):