From ef60e64564143601b64ce7527508173b99419f52 Mon Sep 17 00:00:00 2001 From: Harvey Fong Date: Fri, 21 Mar 2025 12:53:40 -0600 Subject: [PATCH] Solve libplist link problems, by forcing both x86 and arm64 compile and using install_name_tool, may still need variable for architecture) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd128a6..33ce8a7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ mkdir workdir git clone https://github.com/lzfse/lzfse mkdir -p lzfse/build cd lzfse/build -/Applications/CMake.app/Contents/bin/cmake .. +/Applications/CMake.app/Contents/bin/cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. make -j4 cd ../.. mkdir homebrew @@ -26,7 +26,8 @@ brew update --force --quiet brew install libtool autoconf automake git clone https://github.com/libimobiledevice/libplist cd libplist -./autogen.sh +export LDFLAGS="-install_name @rpath/libplist-2.0.4.dylib" +./autogen.sh --prefix=$PWD/install --without-cython make -j4 cd .. git clone https://github.com/oomer/vmax2bella.git