diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-11-01 13:19:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 13:19:48 +0000 |
commit | 0fe3a700a559d6bdf05d7aed95528290d3aaa698 (patch) | |
tree | e013f68ae7171abbe46e69634d5b59c84c9663f4 | |
parent | 5b5c15e3096f0f040a70040dc006fa23fec371d0 (diff) | |
parent | 2eefb6d1fdd46193328332b84de0e607f0a40318 (diff) | |
download | numpy-0fe3a700a559d6bdf05d7aed95528290d3aaa698.tar.gz |
Merge pull request #17611 from mbkumar/f2py_dylib_mac
BUG: mac dylib treated as part of extra objects by f2py
-rwxr-xr-x | numpy/f2py/f2py2e.py | 2 |
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) |