summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorBharat Medasani <mbkumar@gmail.com>2020-10-22 10:34:14 -0400
committerBharat Medasani <mbkumar@gmail.com>2020-10-22 10:34:14 -0400
commit2eefb6d1fdd46193328332b84de0e607f0a40318 (patch)
tree83da73dc3d46cd292f32eebc1627a2db973eac8b /numpy/f2py
parent0645461254a2110438b6df63ef193c1138c306ec (diff)
downloadnumpy-2eefb6d1fdd46193328332b84de0e607f0a40318.tar.gz
BUG: mac dylib treated as extra library by f2py
Diffstat (limited to 'numpy/f2py')
-rwxr-xr-xnumpy/f2py/f2py2e.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py
index e68b2e01a..be2c345d1 100755
--- a/numpy/f2py/f2py2e.py
+++ b/numpy/f2py/f2py2e.py
@@ -604,7 +604,7 @@ def run_compile():
if modulename:
break
- extra_objects, sources = filter_files('', '[.](o|a|so)', sources)
+ extra_objects, sources = filter_files('', '[.](o|a|so|dylib)', sources)
include_dirs, sources = filter_files('-I', '', sources, remove_prefix=1)
library_dirs, sources = filter_files('-L', '', sources, remove_prefix=1)
libraries, sources = filter_files('-l', '', sources, remove_prefix=1)