From: Robin Gareus Date: Wed, 22 Jul 2015 09:50:26 +0000 (+0200) Subject: OSX bundle libstdc++ for 10.5 support X-Git-Tag: 4.2~209 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=674e7271213e629327c3c3064dad11e5311336f9;p=ardour.git 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. --- diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 6ee39f626e..a18cc71f5f 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -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`