]> git.kaiwu.me - nginx.git/commitdiff
Dynamic modules: added auth_basic module libs via ngx_module_libs=.
authorRuslan Ermilov <ru@nginx.com>
Wed, 10 Feb 2016 08:36:25 +0000 (11:36 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 10 Feb 2016 08:36:25 +0000 (11:36 +0300)
auto/modules

index 207477858a8188eeff4c131f8cf98feffdbc1d2b..ebfc91ddf9677cd448822e6e37711a89691e5def 100644 (file)
@@ -530,11 +530,10 @@ if [ $HTTP_AUTH_BASIC = YES ]; then
     ngx_module_incs=
     ngx_module_deps=
     ngx_module_srcs=src/http/modules/ngx_http_auth_basic_module.c
-    ngx_module_libs=
+    ngx_module_libs=$CRYPT_LIB
     ngx_module_link=$HTTP_AUTH_BASIC
 
     . auto/module
-    CORE_LIBS="$CORE_LIBS $CRYPT_LIB"
 fi
 
 if [ $HTTP_ACCESS = YES ]; then