[Buildroot] [git commit] pkg-perl: set PERL_USE_UNSAFE_INC
Peter Korsgaard
peter at korsgaard.com
Mon Jan 9 08:47:50 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=d23a2a5079e950e66504a623c44b46146e90e34f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Recent perls are built with the `default_inc_excludes_dot` option.
As many CPAN modules rely on '.' in @INC, the toolchain
must set `PERL_USE_UNSAFE_INC`.
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/pkg-perl.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk
index a027810..4b20598 100644
--- a/package/pkg-perl.mk
+++ b/package/pkg-perl.mk
@@ -20,7 +20,7 @@
################################################################################
PERL_ARCHNAME = $(ARCH)-linux
-PERL_RUN = PERL5LIB= $(HOST_DIR)/usr/bin/perl
+PERL_RUN = PERL5LIB= PERL_USE_UNSAFE_INC=1 $(HOST_DIR)/usr/bin/perl
################################################################################
# inner-perl-package -- defines how the configuration, compilation and
More information about the buildroot
mailing list