diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-22 12:09:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-22 12:09:59 +0200 |
commit | 506fb96ad7eebaf82ec33e4352d00c61978be67f (patch) | |
tree | c17a120b0cc1341428897ad7402556034bdbda58 /tools/osx_packaging | |
parent | 674e7271213e629327c3c3064dad11e5311336f9 (diff) |
amend 674e727
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-x | tools/osx_packaging/osx_build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index a18cc71f5f..c9f27d80cf 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -488,7 +488,7 @@ fi for exe in $executables; do EXE=$APPROOT/MacOS/$exe changes="" - for lib in `otool -L $EXE | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/)" | awk '{print $1}' | grep -v 'libjack\.'` ; do + for lib in `otool -L $EXE | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/|libstdc\+\+)" | awk '{print $1}' | grep -v 'libjack\.'` ; do base=`basename $lib` changes="$changes -change $lib @executable_path/../lib/$base" done @@ -514,7 +514,7 @@ for libdir in $Frameworks $Frameworks/modules $Surfaces $Panners $Backends ; do # change all the dependencies changes="" - for lib in `otool -L $dylib | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/)" | awk '{print $1}' | grep -v 'libjack\.'` ; do + for lib in `otool -L $dylib | egrep "($GTKSTACK_ROOT|$ARDOURSTACK_ROOT|/opt/|/local/|libs/|libstdc\+\+)" | awk '{print $1}' | grep -v 'libjack\.'` ; do base=`basename $lib` if echo $lib | grep -s libbase; then changes="$changes -change $lib @executable_path/../$libbase/$base" |