summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-02-17 21:36:52 +0100
committerRobin Gareus <robin@gareus.org>2015-02-17 21:36:52 +0100
commit400148b369b16f8abcc197b2d5d9a7468eeb4df7 (patch)
treebf449d8e92e93ca0048fc84dc79431af46fad5c4 /tools/osx_packaging
parent6f3a25317201efd384734327a4d3caae93db3b3e (diff)
OSX package: don’t copy dylib itself to libdir.
fixes duplicate panner, backend etc libs in bundle.
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index e3263dd3d3..300a731799 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -422,7 +422,7 @@ while [ true ] ; do
strip -u -r -arch all $file &>/dev/null
fi
- deps=`otool -L $file | awk '{print $1}' | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/)" | grep -v 'libjack\.'`
+ deps=`otool -L $file | awk '{print $1}' | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/)" | grep -v 'libjack\.' | grep -v "$(basename $file)"`
# echo -n "."
for dep in $deps ; do
base=`basename $dep`