mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01: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 \
|
LINKTYPE=dynamic \
|
||||||
DESTDIR=$(PKG_INSTALL_DIR) \
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||||
);
|
);
|
||||||
|
sed 's!^PERL_INC = .*!PERL_INC = $(STAGING_DIR)/usr/lib/perl5/5.20/CORE/!' -i $(PKG_BUILD_DIR)/Makefile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define perlmod/Compile
|
define perlmod/Compile
|
||||||
|
|||||||
Reference in New Issue
Block a user