diff options
-rw-r--r-- | Kconfig | 2 | ||||
-rw-r--r-- | rules/post/cleanup.make | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,7 @@ config _ptxconfig_MAGIC__ config BUILD_TOOLCHAIN bool + select HOST_CHRPATH default y config NO_PLATFORM @@ -79,6 +80,7 @@ source "workspace/rules/host-xz.in" source "workspace/rules/host-zlib.in" source "workspace/rules/host-libelf.in" source "rules/host-autotools-autoconf.in" +source "rules/host-chrpath.in" source "rules/host-m4.in" source "rules/host-system-perl.in" diff --git a/rules/post/cleanup.make b/rules/post/cleanup.make index 55abf33..95d3b63 100644 --- a/rules/post/cleanup.make +++ b/rules/post/cleanup.make @@ -9,6 +9,10 @@ $(STATEDIR)/world.cleanup: $(STATEDIR)/world.targetinstall "$(PTXCONF_SYSROOT_CROSS)/"*/bin/ \ -type f \( -executable -o -name "*.so*" \) \ | xargs -n1 --verbose strip || true + find \ + "$(PTXCONF_SYSROOT_CROSS)/" \ + -type f \( -executable -o -name "*.so*" \) \ + | xargs chrpath -k -d 2>/dev/null || true @$(call touch) world: $(STATEDIR)/world.cleanup |