diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-07-03 09:27:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-03 14:58:00 -0700 |
commit | 5a22611c33290d382d24dc6ce6de16dd2889529c (patch) | |
tree | 3e075fc2264e9f66031047c60ab0f134daf898ea | |
parent | 072e404af52f71aabcbd42cf0d1320352635aca5 (diff) | |
download | subsurface-5a22611c33290d382d24dc6ce6de16dd2889529c.tar.gz |
macOS: we no longer need libssh2
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rwxr-xr-x | packaging/macosx/make-package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh index e1da0fc75..efcce705e 100755 --- a/packaging/macosx/make-package.sh +++ b/packaging/macosx/make-package.sh @@ -36,14 +36,14 @@ for i in libgit2 libGrantlee_TextDocument.dylib libGrantlee_Templates.dylib; do if [[ "$i" = "libgit2" ]] ; then CURLLIB=$(otool -L Subsurface.app/Contents/Frameworks/${SONAME} | grep libcurl | cut -d\ -f1 | tr -d "\t") install_name_tool -change ${CURLLIB} @executable_path/../Frameworks/$(basename ${CURLLIB}) Subsurface.app/Contents/Frameworks/${SONAME} - SSHLIB=$(otool -L Subsurface.app/Contents/Frameworks/${SONAME} | grep libssh2 | cut -d\ -f1 | tr -d "\t") - install_name_tool -change ${SSHLIB} @executable_path/../Frameworks/$(basename ${SSHLIB}) Subsurface.app/Contents/Frameworks/${SONAME} + # SSHLIB=$(otool -L Subsurface.app/Contents/Frameworks/${SONAME} | grep libssh2 | cut -d\ -f1 | tr -d "\t") + # install_name_tool -change ${SSHLIB} @executable_path/../Frameworks/$(basename ${SSHLIB}) Subsurface.app/Contents/Frameworks/${SONAME} fi fi done # next, copy libssh2.1 -cp ${DIR}/install-root/lib/libssh2.1.dylib Subsurface.app/Contents/Frameworks +# cp ${DIR}/install-root/lib/libssh2.1.dylib Subsurface.app/Contents/Frameworks # next, replace @rpath references with @executable_path references in Subsurface RPATH=$(otool -L ${EXECUTABLE} | grep rpath | cut -d\ -f1 | tr -d "\t" | cut -b 8- ) |