perl: fix build of native modules
authorFrancois Perrad <fperrad@gmail.com>
Wed, 17 Sep 2014 18:51:05 +0000 (20:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 19:28:59 +0000 (21:28 +0200)
CORE/vutil.h is required when the host perl version is 5.20
see http://autobuild.buildroot.net/results/c3d/c3d48c3b3d6c1e616d8e20a2f65d8ba33abe61da/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/perl/perl.mk

index 01e0166eb41295a82d18f768e26591180fa71e74..65c0a7dd01472423688a60d81f24ac048306d706 100644 (file)
@@ -117,6 +117,7 @@ endef
 define PERL_ADD_CORE_H
        touch $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE/patchlevel-debian.h
        touch $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE/cc_runtime.h
+       touch $(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE/vutil.h
 endef
 
 PERL_POST_INSTALL_STAGING_HOOKS += PERL_ADD_CORE_H