From c8526aca2529ee0095afc3016a2f4106a9aeefdf Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Tue, 20 Sep 2016 22:11:23 +0300 Subject: 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. --- auto/make | 1 + 1 file changed, 1 insertion(+) (limited to 'auto/make') 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 -- cgit