Fix OSX/PPC packaging

This partially reverts 5a841ef462 to fix issues with
egrep "libstdc++.6.dylib"
This commit is contained in:
Robin Gareus 2020-01-25 11:35:17 +01:00
parent 4fe3036495
commit 8ecfee2c94
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -472,7 +472,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/$STDCPP)" | grep -v 'libjack\.' | egrep -v "$(basename $file .dylib).*.dylib"`
deps=`otool -L $file | awk '{print $1}' | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/$STDCPP)" | grep -v 'libjack\.' | grep -v "$(basename $file)"`
# echo -n "."
for dep in $deps ; do
base=`basename $dep`