cournape / Bento

A tool to nicely wrap-up your python softwares
http://cournape.github.com/Bento
BSD 3-Clause "New" or "Revised" License
156 stars 22 forks source link

fPIC missing in Scipy build #128

Open pv opened 12 years ago

pv commented 12 years ago

The Scipy build seems broken (in addition to FLAPACK -> LAPACK rename) at the moment, as cstlib static libraries do not get the -fPIC compiler flag appended.

This makes the CompiledLibrary feature not work on 64-bit systems.

rgommers commented 11 years ago

Always adding -fPIC to static libraries may not be so hard, maybe a matter of adding a modified cstlib class to backends/waf_tools/ordered_c.py. Adding that flag only if the static library is linked into a Python extension seems a lot more painful though.

@cournape how do you want to see this fixed?