summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2_2.9.14.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/libxml/libxml2_2.9.14.bb')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.14.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.14.bb b/meta/recipes-core/libxml/libxml2_2.9.14.bb
index e58298d3b0..519985bbae 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.14.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.14.bb
@@ -22,6 +22,7 @@ SRC_URI += "http://www.w3.org/XML/Test/xmlts20080827.tar.gz;subdir=${BP};name=te
22 file://fix-execution-of-ptests.patch \ 22 file://fix-execution-of-ptests.patch \
23 file://remove-fuzz-from-ptests.patch \ 23 file://remove-fuzz-from-ptests.patch \
24 file://libxml-m4-use-pkgconfig.patch \ 24 file://libxml-m4-use-pkgconfig.patch \
25 file://0001-Port-gentest.py-to-Python-3.patch \
25 " 26 "
26 27
27SRC_URI[archive.sha256sum] = "60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee" 28SRC_URI[archive.sha256sum] = "60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee"
@@ -82,6 +83,16 @@ do_configure:prepend () {
82} 83}
83 84
84do_compile_ptest() { 85do_compile_ptest() {
86 # Make sure that testapi.c is newer than gentests.py, because
87 # with reproducible builds, they will both get e.g. Jan 1 1970
88 # modification time from SOURCE_DATE_EPOCH and then check-am
89 # might try to rebuild_testapi, which will fail even with
90 # 0001-Port-gentest.py-to-Python-3.patch, because it needs
91 # libxml2 module (libxml2-native dependency and correctly
92 # set PYTHON_SITE_PACKAGES), it's easier to
93 # just rely on pre-generated testapi.c from the release
94 touch ${S}/testapi.c
95
85 oe_runmake check-am 96 oe_runmake check-am
86} 97}
87 98