We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a85e47d commit d6e3302Copy full SHA for d6e3302
1 file changed
scripts/macos-fix-openssl.sh
@@ -74,7 +74,7 @@ do
74
install_name_tool -change "${candidate}" "@rpath/libcrypto.3.dylib" "${bin_path}" 2>/dev/null || true
75
done
76
77
-if ! otool -l "${bin_path}" | rg -q "@executable_path/../Frameworks"; then
+if ! otool -l "${bin_path}" | { command -v rg >/dev/null 2>&1 && rg -q "@executable_path/../Frameworks" || grep -q "@executable_path/../Frameworks"; }; then
78
install_name_tool -add_rpath "@executable_path/../Frameworks" "${bin_path}"
79
fi
80
0 commit comments