mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
perl: Properly override PERL_INC for subdirectory builds
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
@@ -104,7 +104,7 @@ define perlmod/Configure
|
||||
LINKTYPE=dynamic \
|
||||
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
|
||||
|
||||
define perlmod/Compile
|
||||
|
||||
Reference in New Issue
Block a user