From 65574fb7b7ec1d05d71c5ddf4d4b70c599ff33d8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 May 2012 13:35:22 +0000 Subject: [PATCH] don't include libasound or libICE or libSM in a linux bundle git-svn-id: svn://localhost/ardour2/branches/3.0@12387 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/build | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 50fb408fe4..68ebb04ec6 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -535,7 +535,6 @@ while [ true ] ; do # do not include libjack deps=`LD_LIBRARY_PATH=$OURLIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ldd $file | awk '{print $3}'` - # LD_LIBRARY_PATH=$OURLIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ldd $file | egrep "(/opt/|/local/|libs/|/usr/lib|/gtk)" | grep -v 'libjack\.' echo -n "." for dep in $deps ; do if test "not" = ${dep}; then @@ -554,9 +553,13 @@ while [ true ] ; do if echo $dep | grep -qs "^/lib/" ; then continue; fi # don't include jack if echo $dep | grep -qs libjack ; then continue; fi + # don't include ALSA + if echo $dep | grep -qs libasound ; then continue; fi # don't include any X Window libraries - if echo $dep | grep -qs libX ; then continue; fi - if echo $dep | grep -qs libxcb ; then continue; fi + if echo $dep | grep -qs libX\. ; then continue; fi + if echo $dep | grep -qs libxcb- ; then continue; fi + if echo $dep | grep -qs libICE\. ; then continue; fi + if echo $dep | grep -qs libSM\. ; then continue; fi # don't include libc if echo $dep | grep -qs 'libc\.' ; then continue; fi # don't include libstdc++