gpanders/meta-scipy

Use chrpath tool to remove rpaths

Closed this issue · 0 comments

This is a much better solution than patching numpy.

TODO:

  • Add chrpath-native to DEPENDS in the scipy recipe
  • Add a do_install_append task to the scipy recipe that calls chrpath -d on the library files that the Bitbake QA step flags

This should maybe be done as a numpy bbappend file?

The problem is that the gcc cross compiler doesn't recognize the -R flag. This ought to be -Wl,R (to pass it to the linker), but for whatever reason numpy doesn't do this.