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:
parent
51850177b9
commit
d94b738420
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue