scripts: extend rstrip.sh to remove bad rpaths
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)
commit183b645604d2b07156cf24c17699bf20d90e1252
tree54905c26d2978f491f40221b410112c720978313
parent9523104d61648b23565c9e228256f01eb9b42b3f
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 <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44377 3c298f89-4303-0410-b956-a3cf2f4a3e73
rules.mk
scripts/rstrip.sh