summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-05 15:55:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-06 12:16:34 +0000
commit934d21e032cd6331e248f23f12bb455cbeb5b645 (patch)
tree06614d95ade1eaa694130aa6beb17ad9d74a51af
parent829476febc8432bac1ea0570207ce4aa2d996475 (diff)
downloadpoky-934d21e032cd6331e248f23f12bb455cbeb5b645.tar.gz
libidn2: Fix reproducibility issue
The previous tweak for reproducibility didn't handle the duplicate whitepace left behind, fix this. [YOCTO #13771] (From OE-Core rev: 0392fcbdc85180581ce7392212808ebb822cc2e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/libidn/libidn2_2.3.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/libidn/libidn2_2.3.0.bb b/meta/recipes-extended/libidn/libidn2_2.3.0.bb
index 8e7e6c0dbc..7adf924aeb 100644
--- a/meta/recipes-extended/libidn/libidn2_2.3.0.bb
+++ b/meta/recipes-extended/libidn/libidn2_2.3.0.bb
@@ -22,7 +22,8 @@ EXTRA_OECONF += "--disable-rpath \
22 " 22 "
23 23
24do_install_append() { 24do_install_append() {
25 sed -i -e 's|-L${STAGING_LIBDIR}||' ${D}${libdir}/pkgconfig/libidn2.pc 25 # Need to remove any duplicate whitespace too for reproducibility
26 sed -i -e 's|-L${STAGING_LIBDIR}||' -e 's/ */ /g' ${D}${libdir}/pkgconfig/libidn2.pc
26} 27}
27 28
28LICENSE_${PN} = "(GPLv2+ | LGPLv3)" 29LICENSE_${PN} = "(GPLv2+ | LGPLv3)"