comparison 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
comparison
equal deleted inserted replaced
2816:af0eaf409225 2817:38e59bcc35f2
29 ;; 29 ;;
30 esac 30 esac
31 31
32 case "$NGX_SYSTEM" in 32 case "$NGX_SYSTEM" in
33 SunOS|Linux) 33 SunOS|Linux)
34 CORE_LIBS="$CORE_LIBS -ldl" 34 CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
35 ;; 35 ;;
36 esac 36 esac
37 37
38 38
39 else 39 else
70 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 70 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
71 OPENSSL=YES 71 OPENSSL=YES
72 72
73 case "$NGX_SYSTEM" in 73 case "$NGX_SYSTEM" in
74 SunOS) 74 SunOS)
75 CORE_LIBS="$CORE_LIBS -ldl" 75 CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
76 ;; 76 ;;
77 esac 77 esac
78 fi 78 fi
79 ;; 79 ;;
80 80