summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2018-09-14 03:25:14 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-09-14 20:15:33 (GMT)
commit45076af4930fda83c8898254de2d7c5fe3c15911 (patch)
treef76f4d192d0c1f4e3015cc6daa477c5a8e6814e1
parent366a468e60aae39fe53b1704ac277b66c7a66fa7 (diff)
downloadbuildroot-45076af4930fda83c8898254de2d7c5fe3c15911.tar.gz
buildroot-45076af4930fda83c8898254de2d7c5fe3c15911.tar.bz2
pkg-perl: fix PERL_INC in generated Makefile
when directly setting PERL_INC with a path to STAGING_DIR, the generated Makefile contains a PERL_INC with a path to HOST_DIR when setting PERL_ARCHLIB, PERL_INC is generated as $(PERL_ARCHLIB)/CORE fix this kind of build failure: http://autobuild.buildroot.net/results/8934f2c203f8b61519dba94188985f1a9261de9a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/pkg-perl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk
index ebc6710..07348bd 100644
--- a/package/pkg-perl.mk
+++ b/package/pkg-perl.mk
@@ -102,7 +102,7 @@ define $(2)_CONFIGURE_CMDS
LD="$$(TARGET_CC)" \
LDDLFLAGS="-shared $$(TARGET_LDFLAGS)" \
LDFLAGS="$$(TARGET_LDFLAGS)" \
- PERL_INC=$$(STAGING_DIR)/usr/lib/perl5/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
+ PERL_ARCHLIB=$$(STAGING_DIR)/usr/lib/perl5/$$(PERL_VERSION)/$$(PERL_ARCHNAME) \
DESTDIR=$$(TARGET_DIR) \
INSTALLDIRS=vendor \
INSTALLVENDORLIB=/usr/lib/perl5/site_perl/$$(PERL_VERSION) \