summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b0d5789ac5..2888872dc8 100644
--- a/package/pkg-perl.mk
+++ b/package/pkg-perl.mk
@@ -102,6 +102,7 @@ define $(2)_CONFIGURE_CMDS
LD="$$(TARGET_CC)" \
LDDLFLAGS="-shared $$(TARGET_LDFLAGS)" \
LDFLAGS="$$(TARGET_LDFLAGS)" \
+ PERL_INC=$$(STAGING_DIR)/usr/lib/$$(PERL_INSTALL_NAME)/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
DESTDIR=$$(TARGET_DIR) \
INSTALLDIRS=vendor \
INSTALLVENDORLIB=/usr/lib/perl5/site_perl/$$(PERL_VERSION) \
@@ -147,7 +148,6 @@ define $(2)_BUILD_CMDS
$$(PERL_RUN) Build $$($(2)_BUILD_OPTS) build; \
else \
$$(MAKE1) \
- PERL_INC=$$(STAGING_DIR)/usr/lib/perl5/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
FIXIN=: \
$$($(2)_BUILD_OPTS) pure_all; \
fi
OpenPOWER on IntegriCloud