From 159f7b3e0cea0f87235fcbfd6a361123fa449362 Mon Sep 17 00:00:00 2001 From: Davide Guidotti Date: Tue, 28 Jan 2025 21:16:25 +0100 Subject: Adding more paths to the OpenSSL checks (#9) --- assets/prepare.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'assets') diff --git a/assets/prepare.sh b/assets/prepare.sh index 573b1a9..a48ffcb 100755 --- a/assets/prepare.sh +++ b/assets/prepare.sh @@ -19,6 +19,18 @@ if test_curl "/usr/lib"; then elif test_curl "/usr/lib64"; then echo "Using OpenSSL library path: /usr/lib64" export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH" +elif test_curl "/lib"; then + echo "Using OpenSSL library path: /lib" + export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" +elif test_curl "/lib64"; then + echo "Using OpenSSL library path: /lib64" + export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH" +elif test_curl "/usr/local/lib"; then + echo "Using OpenSSL library path: /usr/local/lib" + export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" +elif test_curl "/usr/local/ssl/lib"; then + echo "Using OpenSSL library path: /usr/local/ssl/lib" + export LD_LIBRARY_PATH="/usr/local/ssl/lib:$LD_LIBRARY_PATH" else echo "Failed to configure OpenSSL for curl. Exiting." exit 1 -- cgit v1.2.3