13
0

OSX bundle libstdc++ for 10.5 support

see #6456 and
http://stackoverflow.com/questions/6365772/unable-to-run-an-application-compiled-on-os-x-snow-leopard-10-6-7-on-another-m

hopefully this won’t break plugins which may link against
against the /usr/lib/ version. we’ll see.
This commit is contained in:
Robin Gareus 2015-07-22 11:50:26 +02:00
parent f7e10d0fe8
commit 674e727121

View File

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