summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-06-30 16:11:52 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-07-01 15:05:31 +0200
commit63d0d8040ab4ba8956a13dafd73e2fa044e29c8b (patch)
treeddb6d0c3c2a5bfacec6010ed2bff99640a8aaf06
parent4a530b6ed312a69dabdc98a1e10795238fd4d1e2 (diff)
downloadbuildroot-63d0d8040ab4ba8956a13dafd73e2fa044e29c8b.tar.gz
buildroot-63d0d8040ab4ba8956a13dafd73e2fa044e29c8b.zip
perl-net-ssleay: fix build
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>
-rw-r--r--package/perl/perl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index d9e506ece8..8321570fad 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -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))
OpenPOWER on IntegriCloud