diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-03-13 17:11:12 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-03-13 17:11:12 +0000 |
commit | 1a08dbbfcd2097776ad67c95e2f64b94c112b78b (patch) | |
tree | d57c591dc90c4335139c35b99a15680a0c83e4a7 /scipy_distutils/gnufcompiler.py | |
parent | 0bec5dcc37dd85bf86e5f14df9cd1ba154a7dab4 (diff) | |
download | numpy-1a08dbbfcd2097776ad67c95e2f64b94c112b78b.tar.gz |
Fixed Apple python test
Diffstat (limited to 'scipy_distutils/gnufcompiler.py')
-rw-r--r-- | scipy_distutils/gnufcompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy_distutils/gnufcompiler.py b/scipy_distutils/gnufcompiler.py index 5e0ed1031..619b7d468 100644 --- a/scipy_distutils/gnufcompiler.py +++ b/scipy_distutils/gnufcompiler.py @@ -48,7 +48,7 @@ class GnuFCompiler(FCompiler): def get_flags_linker_so(self): opt = [] if sys.platform=='darwin': - if sys.executable.startswith('/usr/bin'): + if os.path.realpath(sys.executable).startswith('/System'): # This is when Python is from Apple framework opt.extend(["-Wl,-framework","-Wl,Python"]) #else we are running in Fink python. |