From 6da5c89178cbb5e3a131e5145b13bee021b1f773 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 10 Feb 2015 15:48:48 +0000 Subject: scripts: extend rstrip.sh to remove bad rpaths Remove all rpath entries which do not point to a location below /lib or /usr/lib and which do not begin with '$ORIGIN'. Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44377 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index 949bfb27e8..a79e20dfa4 100644 --- a/rules.mk +++ b/rules.mk @@ -269,6 +269,7 @@ else NM="$(TARGET_CROSS)nm" \ STRIP="$(STRIP)" \ STRIP_KMOD="$(SCRIPT_DIR)/strip-kmod.sh" \ + PATCHELF="$(STAGING_DIR_HOST)/bin/patchelf" \ $(SCRIPT_DIR)/rstrip.sh endif -- cgit v1.2.3