diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2016-02-26 14:27:04 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2016-02-26 14:27:04 +0300 |
| commit | 89b8f57768c661a6ccaa06a53c3137510d8b0de2 (patch) | |
| tree | 4c95d4c141ddbbc835b890f2d03a5de4cd3e75f5 /auto/lib/perl/conf | |
| parent | 39b78fdf964df34523f7dc8bc32f09d333db1849 (diff) | |
| download | nginx-89b8f57768c661a6ccaa06a53c3137510d8b0de2.tar.gz nginx-89b8f57768c661a6ccaa06a53c3137510d8b0de2.tar.bz2 | |
Dynamic modules: perl.
Diffstat (limited to 'auto/lib/perl/conf')
| -rw-r--r-- | auto/lib/perl/conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/auto/lib/perl/conf b/auto/lib/perl/conf index 4d1bcf128..f5f5d3e57 100644 --- a/auto/lib/perl/conf +++ b/auto/lib/perl/conf @@ -60,8 +60,11 @@ if test -n "$NGX_PERL_VER"; then | sed -e 's/-arch i386//' -e 's/-arch x86_64//'` fi - CORE_LINK="$CORE_LINK $ngx_perl_ldopts" - LINK_DEPS="$LINK_DEPS $NGX_OBJS/$ngx_perl_module" + if [ $USE_PERL = YES ]; then + CORE_LINK="$CORE_LINK $ngx_perl_ldopts" + fi + + NGX_LIB_PERL="$ngx_perl_ldopts" if test -n "$NGX_PERL_MODULES"; then have=NGX_PERL_MODULES value="(u_char *) \"$NGX_PERL_MODULES\"" |
