perl: pass $(LDFLAGS) to Makefile.PL (#71393)
LDFLAGS is set during the Debian build to pass hardening flags and we want them to be applied to the perl module.
This commit is contained in:
parent
3a7ad3610f
commit
e4f50c8b25
|
@ -38,7 +38,7 @@ Makefile.perl: $(srcdir)/Makefile.PL Lasso.xs Lasso.pm
|
||||||
done; \
|
done; \
|
||||||
chmod -R u+rwX $(TOCOPY); \
|
chmod -R u+rwX $(TOCOPY); \
|
||||||
fi;
|
fi;
|
||||||
$(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs`" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
|
$(AM_V_SUBMAKE) $(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(DESTDIR) PREFIX=$(prefix) CCFLAGS="$(LASSO_XS_CFLAGS)" INC="-I. -I$(top_srcdir) -I$(srcdir)" LIBS="`$(top_builddir)/lasso-src-config --libs` $(LDFLAGS)" OPTIMIZE="-g" $(AM_V_SUBMAKE_POSTFIX)
|
||||||
|
|
||||||
Lasso.xs Lasso.pm: lang.py typemap-in typemap-out
|
Lasso.xs Lasso.pm: lang.py typemap-in typemap-out
|
||||||
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l perl --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)
|
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l perl --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)
|
||||||
|
|
Loading…
Reference in New Issue