mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system/macOS: correctly test if we need to adjust the id of libgit2
The existing test was backwards and never worked. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
516e3421b1
commit
c0a08b889e
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ if [[ "$LIBGIT" < "24" ]] ; then
|
|||
# in order for macdeployqt to do its job correctly, we need the full path in the dylib ID
|
||||
cd $INSTALL_ROOT/lib
|
||||
NAME=$(otool -L libgit2.dylib | grep -v : | head -1 | cut -f1 -d\ | tr -d '\t')
|
||||
echo $NAME | if grep / > /dev/null 2>&1 ; then
|
||||
echo $NAME | if grep -v / > /dev/null 2>&1 ; then
|
||||
install_name_tool -id "$INSTALL_ROOT/lib/$NAME" "$INSTALL_ROOT/lib/$NAME"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue