mirror of
https://github.com/nginx/nginx.git
synced 2025-07-20 19:27:29 +08:00
Merge of r5071: rebuild perl module on headers change.
Configure: rebuild perl module nginx.so if headers are changed. Note: the "-p" argument of cp(1) dropped intentionally, to force nginx.so rebuild. It is considered too boring to properly list all dependencies in Makefile.PL.
This commit is contained in:
parent
b02568884a
commit
f3dcfd8c20
@ -6,11 +6,12 @@
|
||||
cat << END >> $NGX_MAKEFILE
|
||||
|
||||
$NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \
|
||||
\$(CORE_DEPS) \$(HTTP_DEPS) \
|
||||
src/http/modules/perl/nginx.pm \
|
||||
src/http/modules/perl/nginx.xs \
|
||||
src/http/modules/perl/ngx_http_perl_module.h \
|
||||
$NGX_OBJS/src/http/modules/perl/Makefile
|
||||
cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
||||
cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
||||
|
||||
cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user