Changeset ca7f593 in subsurface


Ignore:
Timestamp:
Jan 1, 2017, 4:23:49 AM (10 months ago)
Author:
Miika Turkia <miika.turkia@…>
Branches:
master
Children:
843482a
Parents:
902a27d
git-author:
Dirk Hohndel <dirk@…> (12/31/16 20:34:54)
git-committer:
Miika Turkia <miika.turkia@…> (01/01/17 04:23:49)
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 rca7f593  
    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.