Mercurial > hg > nginx
comparison auto/lib/openssl/conf @ 2876:658725e3eef4
use -ldl for any OS that needs it
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 22 May 2009 09:22:28 +0000 |
parents | e069d0b8b198 |
children | da1ba8a5c8c9 |
comparison
equal
deleted
inserted
replaced
2875:6e1941b321b7 | 2876:658725e3eef4 |
---|---|
27 | 27 |
28 CORE_INCS="$CORE_INCS $OPENSSL/openssl/include" | 28 CORE_INCS="$CORE_INCS $OPENSSL/openssl/include" |
29 CORE_DEPS="$CORE_DEPS $OPENSSL/openssl/include/openssl/ssl.h" | 29 CORE_DEPS="$CORE_DEPS $OPENSSL/openssl/include/openssl/ssl.h" |
30 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libssl.a" | 30 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libssl.a" |
31 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libcrypto.a" | 31 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libcrypto.a" |
32 ;; | |
33 esac | |
34 | |
35 case "$NGX_SYSTEM" in | |
36 SunOS|Linux) | |
37 CORE_LIBS="$CORE_LIBS $NGX_LIBDL" | 32 CORE_LIBS="$CORE_LIBS $NGX_LIBDL" |
38 ;; | 33 ;; |
39 esac | 34 esac |
40 | |
41 | 35 |
42 else | 36 else |
43 | 37 |
44 case "$NGX_PLATFORM" in | 38 case "$NGX_PLATFORM" in |
45 | 39 |
68 ngx_feature_test="SSL_library_init()" | 62 ngx_feature_test="SSL_library_init()" |
69 . auto/feature | 63 . auto/feature |
70 | 64 |
71 if [ $ngx_found = yes ]; then | 65 if [ $ngx_found = yes ]; then |
72 have=NGX_SSL . auto/have | 66 have=NGX_SSL . auto/have |
73 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | 67 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" |
74 OPENSSL=YES | 68 OPENSSL=YES |
75 | |
76 case "$NGX_SYSTEM" in | |
77 SunOS) | |
78 CORE_LIBS="$CORE_LIBS $NGX_LIBDL" | |
79 ;; | |
80 esac | |
81 fi | 69 fi |
82 ;; | 70 ;; |
83 | 71 |
84 esac | 72 esac |
85 | 73 |