Merge pull request #27 from sdellenb/patch-1

Fix MacOS build script
This commit is contained in:
Token2
2025-09-23 12:53:07 +02:00
committed by GitHub

View File

@@ -85,12 +85,12 @@ chmod +x ./bundle_libs.sh
# 4.1 Fix library version compatibility issues # 4.1 Fix library version compatibility issues
info "Fixing library version compatibility..." info "Fixing library version compatibility..."
cd "$STAGING_DIR" pushd "$STAGING_DIR"
# Create symlink for libcbor version compatibility # Create symlink for libcbor version compatibility
if [ -f "libcbor.0.12.dylib" ] && [ ! -f "libcbor.0.11.dylib" ]; then if [ -f "libcbor.0.12.dylib" ] && [ ! -f "libcbor.0.11.dylib" ]; then
ln -sf libcbor.0.12.dylib libcbor.0.11.dylib ln -sf libcbor.0.12.dylib libcbor.0.11.dylib
fi fi
cd .. popd
# 4.2 Fix library linking (this must be done on macOS) # 4.2 Fix library linking (this must be done on macOS)
info "Fixing library linking..." info "Fixing library linking..."