diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-05-22 09:22:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-22 09:22:28 +0000 |
| commit | a7021768a7ae59d821293174476dc74d7d0e0ada (patch) | |
| tree | f1fb5367f632f960a317be938e1af2158adec1ed | |
| parent | 5ed3691b6e252d0612f96f50a992b6e1982f350d (diff) | |
| download | nginx-a7021768a7ae59d821293174476dc74d7d0e0ada.tar.gz nginx-a7021768a7ae59d821293174476dc74d7d0e0ada.tar.bz2 | |
use -ldl for any OS that needs it
| -rw-r--r-- | auto/lib/openssl/conf | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index 8716339ee..8a762a2fc 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -29,16 +29,10 @@ if [ $OPENSSL != NONE ]; then CORE_DEPS="$CORE_DEPS $OPENSSL/openssl/include/openssl/ssl.h" CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libssl.a" CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libcrypto.a" - ;; - esac - - case "$NGX_SYSTEM" in - SunOS|Linux) CORE_LIBS="$CORE_LIBS $NGX_LIBDL" ;; esac - else case "$NGX_PLATFORM" in @@ -70,14 +64,8 @@ else if [ $ngx_found = yes ]; then have=NGX_SSL . auto/have - CORE_LIBS="$CORE_LIBS $ngx_feature_libs" + CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" OPENSSL=YES - - case "$NGX_SYSTEM" in - SunOS) - CORE_LIBS="$CORE_LIBS $NGX_LIBDL" - ;; - esac fi ;; |
