From d98702bd89f418d03d3184732edff32d2ca213be Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 Dec 2021 22:36:44 +0100 Subject: Fix inexplicable change to dylib paths with new VM. After re-creating the macOS build VM, suddenly liblwext4 ends up linked as @rpath/liblwext4.dylib which breaks the DoM make_dmg script. I can only guess this is due to me installing a newer CMake. --- platform/osx/make_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index a48b1e6ae..3df5c57a2 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -262,7 +262,7 @@ function relink_relative { for arch in $arch1_name $arch2_name; do for obj in "${linkers[@]}"; do - deps=`otool -arch $arch -L "$obj" | awk '{print $1}' | egrep "($to_relink)" | egrep "($ENV|$ROOT|boost|libicu|libssh)"` + deps=`otool -arch $arch -L "$obj" | awk '{print $1}' | egrep "($to_relink)" | egrep "($ENV|$ROOT|@rpath|boost|libicu|libssh)"` changes="" for dep in $deps; do base=`basename $dep` -- cgit v1.2.3