Configure: improved make dependencies for perl module.
Added missing dependencies for perl module's Makefile. Simplified dependencies for perl module nginx.so: it depends on Makefile that in turn depends on other perl bits.
This commit is contained in:
parent
3a96c20d2b
commit
2cfee772a7
1 changed files with 3 additions and 5 deletions
|
@ -7,12 +7,8 @@ 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 src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
||||
|
||||
cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
|
||||
|
||||
rm -rf $NGX_OBJS/install_perl
|
||||
|
@ -20,7 +16,9 @@ $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \\
|
|||
|
||||
$NGX_OBJS/src/http/modules/perl/Makefile: \\
|
||||
src/http/modules/perl/Makefile.PL \\
|
||||
src/http/modules/perl/nginx.pm
|
||||
src/http/modules/perl/nginx.pm \\
|
||||
src/http/modules/perl/nginx.xs \\
|
||||
src/http/modules/perl/typemap
|
||||
cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
|
||||
cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
|
||||
cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
|
||||
|
|
Loading…
Reference in a new issue