Changeset af65e6b in subsurface


Ignore:
Timestamp:
Dec 31, 2016, 8:34:54 PM (3 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
004f6808
Parents:
e94d496
Message:

Fix MacOS make-package script

We need the full path to the local libssh in order to replace it with the
correct path.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packaging/macosx/make-package.sh

    r818031e raf65e6b  
    3333                fi
    3434                if [[ "$i" = "libgit2" && ! -z ${LIBSSH} ]] ; then
    35                         install_name_tool -change ${LIBSSH} @executable_path/../Frameworks/${LIBSSH} Subsurface.app/Contents/Frameworks/${SONAME}
     35                        CURLIBSSH=$(otool -L Subsurface.app/Contents/Frameworks/${SONAME} | grep libssh | cut -d\  -f1 | tr -d "\t")
     36                        install_name_tool -change ${CURLIBSSH} @executable_path/../Frameworks/${LIBSSH} Subsurface.app/Contents/Frameworks/${SONAME}
    3637                fi
    3738        fi
Note: See TracChangeset for help on using the changeset viewer.