diff options
author | Gianfranco Costamagna <costamagna.gianfranco@gmail.com> | 2020-01-09 12:53:41 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-10 00:50:59 -0800 |
commit | cf6fe4615de3c1e459bb915a291127548fd04bc5 (patch) | |
tree | 4777c46bdb82464ad9845bcabf5f89480e7d49fb /meta-oe/recipes-extended/brotli | |
parent | 7cd26041725e57dd0680767a513955193e1f0d63 (diff) | |
download | meta-openembedded-contrib-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>
Diffstat (limited to 'meta-oe/recipes-extended/brotli')
-rw-r--r-- | meta-oe/recipes-extended/brotli/brotli_1.0.7.bb | 6 |
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" 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 +} |