ports/math/py-numpy/files/patch-numpy-f2py-f2py2e.py
Ruslan Makhmatkhanov 626b5d9e93 - update to 1.8.0
- clarify LICENSE (BSD3C)
- suppor staging

while here:
- utilize PYTHON_PY3K_PLIST_HACK
- install docs uncoditionally into stage area
- convert LIB_DEPENDS to the new notation
- sort packing list

PR:		186677
Submitted by:	Johannes Jost Meixner <xmj@chaot.net>
2014-02-13 05:21:31 +00:00

18 lines
897 B
Python

--- numpy/f2py/f2py2e.py.orig 2012-01-25 06:59:14.651304791 -0600
+++ numpy/f2py/f2py2e.py 2012-01-25 07:00:58.475075133 -0600
@@ -520,6 +520,7 @@
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)
+ extra_link_args, sources = filter_files('-Wl,','',sources,remove_prefix=0)
undef_macros, sources = filter_files('-U', '', sources, remove_prefix=1)
define_macros, sources = filter_files('-D', '', sources, remove_prefix=1)
using_numarray = 0
@@ -555,6 +556,7 @@
'undef_macros': undef_macros,
'extra_objects': extra_objects,
'f2py_options': f2py_flags,
+ 'extra_link_args': extra_link_args,
}
if sysinfo_flags: