summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-09 22:37:32 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-09-09 22:37:32 +0000
commitc70e919ae87003be253c6fc838603c128e4d0f8f (patch)
tree6b821022e9dd39c8751c9d679a471bcb92fa3c0a /scripts
parentcaa66bd150dad2c27adf60deeaed7932453108bc (diff)
downloadmtk-20170518-c70e919ae87003be253c6fc838603c128e4d0f8f.zip
mtk-20170518-c70e919ae87003be253c6fc838603c128e4d0f8f.tar.gz
mtk-20170518-c70e919ae87003be253c6fc838603c128e4d0f8f.tar.bz2
fix library bundling when host libraries reside in /lib/tls/ or similar
SVN-Revision: 33353
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bundle-libraries.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/bundle-libraries.sh b/scripts/bundle-libraries.sh
index 34cd08e..08b52b9 100755
--- a/scripts/bundle-libraries.sh
+++ b/scripts/bundle-libraries.sh
@@ -74,16 +74,12 @@ for BIN in "$@"; do
*) echo " * lib: ${token##*/}" ;;
esac
- dest="$DIR/bundled/lib/${token#*/lib*/}"
+ dest="$DIR/bundled/lib/${token##*/}"
ddir="${dest%/*}"
[ -f "$token" -a ! -f "$dest" ] && {
_md "$ddir"
_cp "$token" "$dest"
-
- case "$token" in */tls/*.so*)
- _cp "${token%/tls/*}/${token##*/}" "$DIR/bundled/lib/${token##*/}"
- ;; esac
}
;; esac
done