* use the more advanced patchelf instead of chrpath

  * use the more advanced patchelf instead of chrpath
    http://nixos.org/patchelf.html

patchelf has the ability to set a new rpath even if there was none before which chrpath seems to miss.

if a package is compiled using conda-build an initial rpath is set because of the LD_RUN_PATH: and so chrpath will work: except someone unset it in the build.sh.


patchelf advantage is: example to convert an otherwise compiled package to be used within conda.
e.g.: use a pre-compiled package and just extract in the build.sh to PREFIX.  if the original precompiled package had no rpath set: chrpath will fail but patchelf will do the job as designed.

This is a great plus in my opinion.

P


PS: the argument that it is not so widely used and available is not a real one: simply provide one so that it can be installed with conda.




<!---
@huboard:{"order":1.1660903960157092e-35,"custom_state":""}
-->