diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-05-19 19:52:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-19 21:22:31 -0700 |
commit | dce7e46766f5acb8d4723f0b126df120e17051dd (patch) | |
tree | b6eb5fcdfe18d062b11f1f501dcc4864ca547d70 /packaging/macosx | |
parent | d417d717b99f322ba297199c311495cc93a3e1ef (diff) | |
download | subsurface-dce7e46766f5acb8d4723f0b126df120e17051dd.tar.gz |
Mac: don't try to copy libraries we got from Homebrew
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/macosx')
-rwxr-xr-x | packaging/macosx/make-package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh index ba717bdb2..e1da0fc75 100755 --- a/packaging/macosx/make-package.sh +++ b/packaging/macosx/make-package.sh @@ -26,7 +26,7 @@ LIBRARY_PATH=${DIR}/install-root/lib make install EXECUTABLE=Subsurface.app/Contents/MacOS/Subsurface for i in libgit2 libGrantlee_TextDocument.dylib libGrantlee_Templates.dylib; do OLD=$(otool -L ${EXECUTABLE} | grep $i | cut -d\ -f1 | tr -d "\t") - if [ ! -z ${OLD} ] ; then + if [[ ! -z ${OLD} && ! -f Subsurface.app/Contents/Frameworks/$(basename ${OLD}) ]] ; then # copy the library into the bundle and make sure its id and the reference to it are correct cp ${DIR}/install-root/lib/$(basename ${OLD}) Subsurface.app/Contents/Frameworks SONAME=$(basename $OLD) |