perl: Properly override PERL_INC for subdirectory builds
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
parent
4764682b65
commit
1c8c372e9c
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ define perlmod/Configure
|
||||||
LINKTYPE=dynamic \
|
LINKTYPE=dynamic \
|
||||||
DESTDIR=$(PKG_INSTALL_DIR) \
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||||
);
|
);
|
||||||
sed 's!^PERL_INC = .*!PERL_INC = $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/CORE/!' -i $(PKG_BUILD_DIR)/Makefile
|
sed 's!^PERL_INC = .*!PERL_INC = $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/CORE/!' -i $(if $(3),$(3),$(PKG_BUILD_DIR))/Makefile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define perlmod/Compile
|
define perlmod/Compile
|
||||||
|
|
Loading…
Reference in a new issue