summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-03 14:37:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-09 12:20:33 +0000
commit9b6e9e34c9a817a23be58aa2c732e1656c1be215 (patch)
tree3f285a6c0db0fb96a426fa4a8eef8ba4bacb7b0e
parent36a5e989e56c199ff55dabf91a499879c49df157 (diff)
downloadpoky-9b6e9e34c9a817a23be58aa2c732e1656c1be215.tar.gz
poky-9b6e9e34c9a817a23be58aa2c732e1656c1be215.tar.bz2
poky-9b6e9e34c9a817a23be58aa2c732e1656c1be215.zip
serf: do not install the static library
scons is using host ar to create it, which may or may not be built with reproducible option by default. Rather than patch scons for the benefit of a single recipe, let's just not install the .a, which is unused anyway. (From OE-Core rev: 7e44275f4d286f005b2f19e3dcc9c6d390b98f30) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/serf/serf_1.3.9.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/meta/recipes-support/serf/serf_1.3.9.bb
index 6a27f12102..2fbf96f997 100644
--- a/meta/recipes-support/serf/serf_1.3.9.bb
+++ b/meta/recipes-support/serf/serf_1.3.9.bb
@@ -30,4 +30,9 @@ EXTRA_OESCONS = " \
OPENSSL="${STAGING_EXECPREFIXDIR}" \
"
+# scons creates non-reproducible archives
+do_install_append() {
+ rm ${D}/${libdir}/*.a
+}
+
BBCLASSEXTEND = "native nativesdk"