perl-net-ssleay: fix build
authorFrancois Perrad <fperrad@gmail.com>
Mon, 30 Jun 2014 14:11:52 +0000 (16:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Jul 2014 13:05:31 +0000 (15:05 +0200)
cc_runtime.h is present in old perl distribution
see http://autobuild.buildroot.net/results/6dd/6dd6bf7d0a814aa508062636fd72de1d07c1816a/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/perl/perl.mk

index d9e506ece82cdf207ef72a0124c6652138db126f..8321570fad3cc801f38128d5ff5bf69fb227a6b3 100644 (file)
@@ -110,10 +110,11 @@ endef
 # As a work-around, explicitly create this header file in $(STAGING_DIR).
 # It doesn't hurt to create it even if the system perl doesn't need it.
 #
-define PERL_ADD_PATCHLEVEL_DEBIAN_H
+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
 endef
 
-PERL_POST_INSTALL_STAGING_HOOKS += PERL_ADD_PATCHLEVEL_DEBIAN_H
+PERL_POST_INSTALL_STAGING_HOOKS += PERL_ADD_CORE_H
 
 $(eval $(generic-package))