mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user