From e7c6f1fef5d8c5e2a740716a35487483140ace22 Mon Sep 17 00:00:00 2001 From: Simon Dellenbach Date: Tue, 23 Sep 2025 12:51:10 +0200 Subject: [PATCH] Fix MacOS build script It must return to the root directory before continuing. --- build_macos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_macos.sh b/build_macos.sh index 13f2da8..137710a 100644 --- a/build_macos.sh +++ b/build_macos.sh @@ -85,12 +85,12 @@ chmod +x ./bundle_libs.sh # 4.1 Fix library version compatibility issues info "Fixing library version compatibility..." -cd "$STAGING_DIR" +pushd "$STAGING_DIR" # Create symlink for libcbor version compatibility if [ -f "libcbor.0.12.dylib" ] && [ ! -f "libcbor.0.11.dylib" ]; then ln -sf libcbor.0.12.dylib libcbor.0.11.dylib fi -cd .. +popd # 4.2 Fix library linking (this must be done on macOS) info "Fixing library linking..."