Browse Source

lang/perl: Use target headers for external modules

Before, external modules actually used host-perl headers.
Aside from obviously being the wrong thing to do, it made them misbehave if
host and target architectures differ too much.

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

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

@ -63,6 +63,7 @@ define perlmod/Configure
LINKTYPE=dynamic \
DESTDIR=$(PKG_INSTALL_DIR) \
);
sed 's!^PERL_INC = .*!PERL_INC = $(STAGING_DIR)/usr/lib/perl5/5.20/CORE/!' -i $(PKG_BUILD_DIR)/Makefile
endef
define perlmod/Compile


Loading…
Cancel
Save