Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib/openssl/conf')
-rw-r--r--auto/lib/openssl/conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
index 0a70f3321..6792e7fd2 100644
--- a/auto/lib/openssl/conf
+++ b/auto/lib/openssl/conf
@@ -13,9 +13,15 @@ if [ $OPENSSL != NONE ]; then
LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
;;
+ esac
+ case "$NGX_SYSTEM" in
+ SunOS|Linux)
+ CORE_LIBS="$CORE_LIBS -ldl"
+ ;;
esac
+
else
if [ $NGX_PLATFORM != win32 ]; then