Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto/make
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2016-09-20 22:11:23 +0300
committerKonstantin Pavlov <thresh@nginx.com>2016-09-20 22:11:23 +0300
commitc8526aca2529ee0095afc3016a2f4106a9aeefdf (patch)
treef504948e7565ae4d1efb894dd61a2157cd76a07a /auto/make
parent89f82c1155d0e2291f30819c38d438e112ba569a (diff)
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.
Diffstat (limited to 'auto/make')
-rw-r--r--auto/make1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/make b/auto/make
index 5589bee8b..84d266819 100644
--- a/auto/make
+++ b/auto/make
@@ -31,6 +31,7 @@ END
if test -n "$NGX_PERL_CFLAGS"; then
echo NGX_PERL_CFLAGS = $NGX_PERL_CFLAGS >> $NGX_MAKEFILE
echo NGX_PM_CFLAGS = $NGX_PM_CFLAGS >> $NGX_MAKEFILE
+ echo NGX_PM_LDFLAGS = $NGX_PM_LDFLAGS >> $NGX_MAKEFILE
fi