diff options
Diffstat (limited to 'auto/lib/openssl/conf')
-rw-r--r-- | auto/lib/openssl/conf | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf index 8ef4f3af9..0a70f3321 100644 --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -18,11 +18,11 @@ if [ $OPENSSL != NONE ]; then else - if [ $PLATFORM != win32 ]; then + if [ $NGX_PLATFORM != win32 ]; then OPENSSL=NO ngx_feature="OpenSSL library" - ngx_feature_name="OpenSSL" + ngx_feature_name="NGX_OPENSSL" ngx_feature_run=no ngx_feature_incs="#include <openssl/ssl.h>" ngx_feature_libs="-lssl -lcrypto" @@ -30,7 +30,6 @@ else . auto/feature if [ $ngx_found = yes ]; then - have=NGX_OPENSSL . auto/have CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" CORE_LIBS="$CORE_LIBS $ngx_feature_libs" |