aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OpenSSL.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSSL.sh b/OpenSSL.sh
index cf93822..f8c1cdb 100644
--- a/OpenSSL.sh
+++ b/OpenSSL.sh
@@ -135,8 +135,10 @@ fi
################################################################################
# Set options
-OPENSSL_INC_DIRS="${OPENSSL_DIR}/include"
-OPENSSL_LIB_DIRS="${OPENSSL_DIR}/lib"
+if [ "${OPENSSL_DIR}" != '/usr' -a "${OPENSSL_DIR}" != '/usr/local' ]; then
+ OPENSSL_INC_DIRS="${OPENSSL_DIR}/include"
+ OPENSSL_LIB_DIRS="${OPENSSL_DIR}/lib"
+fi
OPENSSL_LIBS='ssl crypto'
# Pass options to Cactus