diff auto/modules @ 6419:39a806ccf21e

Dynamic modules: perl.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 26 Feb 2016 14:27:04 +0300
parents 965e4223e702
children 9eefb38f0005
line wrap: on
line diff
--- a/auto/modules
+++ b/auto/modules
@@ -727,14 +727,12 @@ if [ $HTTP_SCGI = YES ]; then
     . auto/module
 fi
 
-if [ $HTTP_PERL = YES ]; then
-    USE_PERL=YES
-
+if [ $HTTP_PERL != NO ]; then
     ngx_module_name=ngx_http_perl_module
     ngx_module_incs=src/http/modules/perl
     ngx_module_deps=src/http/modules/perl/ngx_http_perl_module.h
     ngx_module_srcs=src/http/modules/perl/ngx_http_perl_module.c
-    ngx_module_libs=
+    ngx_module_libs=PERL
     ngx_module_link=$HTTP_PERL
 
     . auto/module