diff options
author | Francois Perrad <fperrad@gmail.com> | 2017-01-07 09:12:17 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-01-09 09:47:50 +0100 |
commit | d23a2a5079e950e66504a623c44b46146e90e34f (patch) | |
tree | 940c422d8848f8792aeda759347957c7ae2668bf /package/pkg-perl.mk | |
parent | 11efe88448a11b33d646468ff5a3d9259c1f52ac (diff) | |
download | buildroot-d23a2a5079e950e66504a623c44b46146e90e34f.tar.gz buildroot-d23a2a5079e950e66504a623c44b46146e90e34f.zip |
pkg-perl: set PERL_USE_UNSAFE_INC
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@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/pkg-perl.mk')
-rw-r--r-- | package/pkg-perl.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk index a027810156..4b20598031 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 |