diff auto/lib/openssl/conf @ 2817:38e59bcc35f2

test whether libdl is required for dynamic linking: Solaris 10 has dlopen()/etc. in libc
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 May 2009 09:39:53 +0000
parents 06d53ecd70c8
children dfec0e090265
line wrap: on
line diff
--- 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