Browse Source

fix library bundling when host libraries reside in /lib/tls/ or similar

SVN-Revision: 33353
Jo-Philipp Wich 13 years ago
parent
commit
c70e919ae8
1 changed files with 1 additions and 5 deletions
  1. 1 5
      scripts/bundle-libraries.sh

+ 1 - 5
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