[oe] [meta-oe][PATCH] brotli: rename static libraries avoding the -static suffix.

Gianfranco Costamagna costamagna.gianfranco at gmail.com
Thu Jan 9 11:53:41 UTC 2020


This leads to link failures such as the ones described here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943321

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg at debian.org>
---
 meta-oe/recipes-extended/brotli/brotli_1.0.7.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-oe/recipes-extended/brotli/brotli_1.0.7.bb b/meta-oe/recipes-extended/brotli/brotli_1.0.7.bb
index b4d4773ee..e4e454bda 100644
--- a/meta-oe/recipes-extended/brotli/brotli_1.0.7.bb
+++ b/meta-oe/recipes-extended/brotli/brotli_1.0.7.bb
@@ -12,3 +12,9 @@ SRCREV= "d6d98957ca8ccb1ef45922e978bb10efca0ea541"
 S = "${WORKDIR}/git"
 
 inherit cmake lib_package
+
+do_install_append () {
+	for lib in $(ls ${D}${libdir}/*-static.a); do
+		mv -v "${lib}" "$(echo ${lib} | sed s/-static//)"
+	done
+}
-- 
2.17.1



More information about the Openembedded-devel mailing list