Browse Source

perl: Properly override PERL_INC for subdirectory builds

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 9 years ago
parent
commit
1c8c372e9c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/perl/perlmod.mk

+ 1
- 1
lang/perl/perlmod.mk View File

@ -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


Loading…
Cancel
Save