scripts: extend rstrip.sh to remove bad rpaths
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)
commitc3dc738df2f4d0448cb859a78cf7418c8cbffb38
tree54905c26d2978f491f40221b410112c720978313
parent0f4938ea0ea0821ccf4793f87756661e2cb86bb5
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>
SVN-Revision: 44377
rules.mk
scripts/rstrip.sh