mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:35:20 +02:00
[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33353 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
20856122c5
commit
79cadaa2aa
@ -74,16 +74,12 @@ for BIN in "$@"; do
|
|||||||
*) echo " * lib: ${token##*/}" ;;
|
*) echo " * lib: ${token##*/}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dest="$DIR/bundled/lib/${token#*/lib*/}"
|
dest="$DIR/bundled/lib/${token##*/}"
|
||||||
ddir="${dest%/*}"
|
ddir="${dest%/*}"
|
||||||
|
|
||||||
[ -f "$token" -a ! -f "$dest" ] && {
|
[ -f "$token" -a ! -f "$dest" ] && {
|
||||||
_md "$ddir"
|
_md "$ddir"
|
||||||
_cp "$token" "$dest"
|
_cp "$token" "$dest"
|
||||||
|
|
||||||
case "$token" in */tls/*.so*)
|
|
||||||
_cp "${token%/tls/*}/${token##*/}" "$DIR/bundled/lib/${token##*/}"
|
|
||||||
;; esac
|
|
||||||
}
|
}
|
||||||
;; esac
|
;; esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user