summaryrefslogtreecommitdiffstats
path: root/package/perl/perl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/perl/perl.mk')
-rw-r--r--package/perl/perl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 8321570fad..e4aad7f6c5 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -69,6 +69,10 @@ ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
PERL_CONF_OPT += -Dusedevel
endif
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+ PERL_CONF_OPT += --all-static --no-dynaloader
+endif
+
ifneq ($(BR2_LARGEFILE),y)
PERL_CONF_OPT += -Uuselargefiles
endif
OpenPOWER on IntegriCloud