diff options
author | adam <adam@pkgsrc.org> | 2020-04-27 19:38:23 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-04-27 19:38:23 +0000 |
commit | be0686d81b66c858df77e41d53ba9fd3f2f2b521 (patch) | |
tree | dad1dffd067f5d736deb97381566e2e5406e7357 /math/py-numpy/patches | |
parent | 8a47456b80d3776b9ccf3106d2499a9c7cb73a7a (diff) | |
download | pkgsrc-be0686d81b66c858df77e41d53ba9fd3f2f2b521.tar.gz |
py-numpy: fix linker options on Darwin
Diffstat (limited to 'math/py-numpy/patches')
-rw-r--r-- | math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py index 7e0bb2ffc0e..b8b16d4f826 100644 --- a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py +++ b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py @@ -1,9 +1,9 @@ -$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.15 2020/03/26 08:33:36 jperkin Exp $ +$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.16 2020/04/27 19:38:23 adam Exp $ Linker needs -shared explictly (at least with GCC 4.7 on SunOS), plus any ABI flags as appropriate. Do not generate debug symbols (remove '-g'). -On OS X, do not use '-bundle' and 'dynamic_lookup' (to avoid Python.framework). +On Darwin, do not use '-bundle' (to avoid Python.framework). Do not use -funroll-loops compiler flag. Do not run a shell command when it is "None". @@ -43,7 +43,7 @@ Do not run a shell command when it is "None". warnings.warn(s, stacklevel=2) - opt.extend(['-undefined', 'dynamic_lookup', '-bundle']) -+ opt.extend(['-undefined']) ++ opt.extend(['-undefined', 'dynamic_lookup']) else: opt.append("-shared") if sys.platform.startswith('sunos'): |