summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-02-23 15:17:16 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-23 22:36:42 +0100
commit9fbb169976a313a20b6fdaf37e67ce80c4771650 (patch)
tree6bb2a9c56bfe14da76dc854ff27acbd434234e74 /package/Makefile.in
parent7128d249c0227321f2588c09d184da436e45df84 (diff)
downloadbuildroot-9fbb169976a313a20b6fdaf37e67ce80c4771650.tar.gz
buildroot-9fbb169976a313a20b6fdaf37e67ce80c4771650.zip
pkg-perl: new infrastructure
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index eea7043d9b..454f61442a 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -206,7 +206,8 @@ HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
HOSTCC_VERSION:=$(shell $(HOSTCC_NOCCACHE) --version | \
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
-export PERL5LIB := $(HOST_DIR)/usr/lib/perl
+HOST_PERL_ARCHNAME := $(shell perl -MConfig -e "print Config->{archname}")
+export PERL5LIB := $(HOST_DIR)/usr/lib/perl5/$(HOST_PERL_ARCHNAME):$(HOST_DIR)/usr/lib/perl5
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
AR="$(TARGET_AR)" \
@@ -359,5 +360,6 @@ include package/pkg-download.mk
include package/pkg-autotools.mk
include package/pkg-cmake.mk
include package/pkg-luarocks.mk
+include package/pkg-perl.mk
include package/pkg-python.mk
include package/pkg-generic.mk
OpenPOWER on IntegriCloud