summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagna.gianfranco@gmail.com>2020-01-09 12:53:41 +0100
committerKhem Raj <raj.khem@gmail.com>2020-01-10 00:50:59 -0800
commitcf6fe4615de3c1e459bb915a291127548fd04bc5 (patch)
tree4777c46bdb82464ad9845bcabf5f89480e7d49fb
parent7cd26041725e57dd0680767a513955193e1f0d63 (diff)
downloadmeta-openembedded-cf6fe4615de3c1e459bb915a291127548fd04bc5.tar.gz
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@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/brotli/brotli_1.0.7.bb6
1 files changed, 6 insertions, 0 deletions
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 b4d4773ee0..e4e454bda3 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"
12S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
13 13
14inherit cmake lib_package 14inherit cmake lib_package
15
16do_install_append () {
17 for lib in $(ls ${D}${libdir}/*-static.a); do
18 mv -v "${lib}" "$(echo ${lib} | sed s/-static//)"
19 done
20}