summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2020-11-01 13:19:48 +0000
committerGitHub <noreply@github.com>2020-11-01 13:19:48 +0000
commit0fe3a700a559d6bdf05d7aed95528290d3aaa698 (patch)
treee013f68ae7171abbe46e69634d5b59c84c9663f4 /numpy/f2py
parent5b5c15e3096f0f040a70040dc006fa23fec371d0 (diff)
parent2eefb6d1fdd46193328332b84de0e607f0a40318 (diff)
downloadnumpy-0fe3a700a559d6bdf05d7aed95528290d3aaa698.tar.gz
Merge pull request #17611 from mbkumar/f2py_dylib_mac
BUG: mac dylib treated as part of extra objects 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)