Browse Source

perl: Include installed extensions in host-perl

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 11 years ago
parent
commit
505bf74aa3
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      lang/perl/Makefile

+ 6
- 1
lang/perl/Makefile View File

@ -45,6 +45,7 @@ TARGET_CPPFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CPPFLAGS))
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include perlmod.mk
define Package/perl
SUBMENU:=Perl
@ -69,6 +70,11 @@ endef
define Host/Install
( cd $(HOST_BUILD_DIR); ./miniperl installperl )
$(CP) $(HOST_BUILD_DIR)/generate_uudmap $(HOST_PERL_PREFIX)/bin/
# Link any possibly installed static extension in
$(MAKE) -C $(HOST_BUILD_DIR)/relink clean || true
( cd $(HOST_BUILD_DIR)/relink && $(HOST_PERL_PREFIX)/bin/perl Makefile.PL )
$(call perlmod/host/relink,$(HOST_BUILD_DIR)/relink)
endef
# Target perl
@ -119,5 +125,4 @@ $(eval $(call RequireCommand,rsync, \
$(eval $(call BuildPackage,perl))
$(eval $(call HostBuild))
include perlmod.mk
-include perlbase.mk

Loading…
Cancel
Save