Mercurial > hg > sonic-visualiser
changeset 1890:fb9a63059d25 appimage
Attempt to handle libraries in /lib. I have a bad feeling about this
author | Chris Cannam |
---|---|
date | Wed, 27 Jun 2018 21:08:26 +0100 |
parents | d8dfd30d6d41 |
children | 1748e29834a3 |
files | deploy/linux/deploy-appimage.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/linux/deploy-appimage.sh Wed Jun 27 16:23:16 2018 +0100 +++ b/deploy/linux/deploy-appimage.sh Wed Jun 27 21:08:26 2018 +0100 @@ -26,7 +26,7 @@ add_dependencies() { local binary="$1" - for lib in $(ldd "$binary" | grep '=> /usr/lib/' | sed 's/^.*=> //' | sed 's/ .*$//' | grep -v 'libc.so' | grep -v 'libm.so'); do + for lib in $(ldd "$binary" | egrep '=> (/usr)?/lib/' | sed 's/^.*=> //' | sed 's/ .*$//' | grep -v 'libc.so' | grep -v 'libm.so'); do mkdir -p "$targetdir/$(dirname $lib)" if [ ! -f "$targetdir/$lib" ]; then cp -Lv "$lib" "$targetdir/$lib"