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* 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