projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: add support for EnGenius ECB1750
[openwrt/staging/dedeckeh.git]
/
scripts
/
rstrip.sh
diff --git
a/scripts/rstrip.sh
b/scripts/rstrip.sh
index 55caefc1a8cf463edb73b58d6de1e4ae376e14a7..59f8624df209baaa286d54d50fcd0d39848d8b48 100755
(executable)
--- a/
scripts/rstrip.sh
+++ b/
scripts/rstrip.sh
@@
-34,7
+34,7
@@
find $TARGETS -type f -a -exec file {} \; | \
old_rpath="$($PATCHELF --print-rpath $F)"; new_rpath=""
for path in $old_rpath; do
case "$path" in
old_rpath="$($PATCHELF --print-rpath $F)"; new_rpath=""
for path in $old_rpath; do
case "$path" in
- /lib/[^/]*|/usr/lib/[^/]*|\$ORIGIN/*) new_rpath="${new_rpath:+$new_rpath:}$path" ;;
+ /lib/[^/]*|/usr/lib/[^/]*|\$ORIGIN/*
|\$ORIGIN
) new_rpath="${new_rpath:+$new_rpath:}$path" ;;
*) echo "$SELF: $F: removing rpath $path" ;;
esac
done
*) echo "$SELF: $F: removing rpath $path" ;;
esac
done