[oe-commits] [meta-openembedded] 26/42: brotli: rename static libraries avoding the -static suffix.

git at git.openembedded.org git at git.openembedded.org
Fri Jan 10 08:51:42 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit cf6fe4615de3c1e459bb915a291127548fd04bc5
Author: Gianfranco Costamagna <costamagna.gianfranco at gmail.com>
AuthorDate: Thu Jan 9 12:53:41 2020 +0100

    brotli: rename static libraries avoding the -static suffix.
    
    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>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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 b4d4773..e4e454b 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
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list