From 91e5b56a32d8dafa8633c946e1d561d2a5b78499 Mon Sep 17 00:00:00 2001 From: Muggle Wei Date: Mon, 4 Sep 2023 14:19:29 +0800 Subject: [PATCH 1/2] fix rpath error in macos --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 1a291de..d05bb85 100755 --- a/build.sh +++ b/build.sh @@ -166,6 +166,10 @@ cmake --build $build_dir --target install # package cd $install_dir if [[ "$OSTYPE" == "darwin"* ]]; then + # force change rpath to openssl in yoauth + if [ $build_openssl -eq 1 ]; then + install_name_tool -change "$install_dir/lib/libcrypto.3.dylib" @rpath/libcrypto.3.dylib bin/yoauth + fi tar -czvf yoauth.tar.gz bin/yoauth* lib/*.dylib* else tar -czvf yoauth.tar.gz bin/yoauth* lib/*.so* From 29608cc410eb35f7d0bebf92cffe11f31398febe Mon Sep 17 00:00:00 2001 From: Muggle Wei Date: Mon, 4 Sep 2023 14:27:05 +0800 Subject: [PATCH 2/2] update version to 1.0.12 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 59e9e60..bb83058 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.11 +1.0.12