diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-23 13:35:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-23 13:35:22 +0000 |
commit | 65574fb7b7ec1d05d71c5ddf4d4b70c599ff33d8 (patch) | |
tree | 8c343b1d1864282a2b33af4f318f3d002df158a7 /tools | |
parent | ccfeb90bdc5e0502f43cbb89d701dfba91c64e74 (diff) |
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/linux_packaging/build | 9 |
1 files 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++ |