Mercurial > hg > nginx
comparison src/http/modules/perl/Makefile.PL @ 6700:0d2956dfc4e6
Perl: pass additional linker options to perl module.
Previously flags passed by --with-ld-opt were not used when building perl
module, which meant hardening flags provided by package build systems were not
applied.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Tue, 20 Sep 2016 22:11:23 +0300 |
parents | 2db6bdcaedc0 |
children |
comparison
equal
deleted
inserted
replaced
6699:9cf2dce316e5 | 6700:0d2956dfc4e6 |
---|---|
14 AUTHOR => 'Igor Sysoev', | 14 AUTHOR => 'Igor Sysoev', |
15 | 15 |
16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", | 16 CCFLAGS => "$ENV{NGX_PM_CFLAGS}", |
17 OPTIMIZE => '-O', | 17 OPTIMIZE => '-O', |
18 | 18 |
19 LDDLFLAGS => "$ENV{NGX_PM_LDFLAGS}", | |
20 | |
19 INC => join(" ", map { | 21 INC => join(" ", map { |
20 m#^/# ? "-I $_" : "-I ../../../../../$_" | 22 m#^/# ? "-I $_" : "-I ../../../../../$_" |
21 } (split /\s+/, $ENV{NGX_INCS})), | 23 } (split /\s+/, $ENV{NGX_INCS})), |
22 | 24 |
23 depend => { | 25 depend => { |