Age | Commit message (Collapse) | Author | Files |
|
Some programs such as libxml-parser-perl-native can have junky
RPATH directories. Found by Khem Raj.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Rather than calculate the relative path ourself use a helper function
we've got. This also results in shorter rpaths being used.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
|
|
Signed-off-by: Chris Larson <chris_larson@mentor.com>
|
|
It's possible to have files in our sysroot which don't have the write (or in
some cases even the read) bit set. Test for these and if they are not set
temporarily set them so that we can chrpath the binaries.
Also remove following of symlinks because if it links to a file created by the
package install we already handle it when we process the sysroot.
Further, by ignoring symlinks here we don't cause a build to fail when the
symlink is to somewhere in the host OS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
This class helps make packages relocatable by post-processing the binaries and
using chrpath to set the RPATH relative to $ORIGIN.
Patch also enables this post-processing for native packages and adds chrpath to
the required utilties.
Based on ideas from a patch from Tom Rini <tom_rini@mentor.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|