summaryrefslogtreecommitdiffhomepage
path: root/auto/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/lib/openssl/conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf
index 8e88bd497..ba016481d 100644
--- a/auto/lib/openssl/conf
+++ b/auto/lib/openssl/conf
@@ -31,7 +31,7 @@ if [ $OPENSSL != NONE ]; then
case "$NGX_SYSTEM" in
SunOS|Linux)
- CORE_LIBS="$CORE_LIBS -ldl"
+ CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
;;
esac
@@ -72,7 +72,7 @@ else
case "$NGX_SYSTEM" in
SunOS)
- CORE_LIBS="$CORE_LIBS -ldl"
+ CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
;;
esac
fi