]> code.ossystems Code Review - openembedded-core.git/commitdiff
serf: do not install the static library
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 3 Dec 2020 13:37:24 +0000 (14:37 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 11 Dec 2020 16:16:48 +0000 (06:16 -1000)
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.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e44275f4d286f005b2f19e3dcc9c6d390b98f30)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/serf/serf_1.3.9.bb

index 6a27f121023c7ab778e9eed3ea2cdbd3a43bb06e..2fbf96f99736780185da63469e1303c92378dc3e 100644 (file)
@@ -30,4 +30,9 @@ EXTRA_OESCONS = " \
                   OPENSSL="${STAGING_EXECPREFIXDIR}" \
                   "
 
+# scons creates non-reproducible archives
+do_install_append() {
+       rm ${D}/${libdir}/*.a
+}
+
 BBCLASSEXTEND = "native nativesdk"