Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] libidn2: remove build paths from libidn2.pc
@ 2019-07-25 15:20 Ross Burton
  2019-07-25 15:20 ` [PATCH 2/2] gnutls: don't use HOSTTOOLS_DIR/bash as a shell on target Ross Burton
  2019-07-25 15:31 ` ✗ patchtest: failure for "libidn2: remove build paths fr..." and 1 more Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Ross Burton @ 2019-07-25 15:20 UTC (permalink / raw)
  To: openembedded-core

The libunistring m4 macros end up putting the full build-time library path into
the .pc file, which is no good on target.  Sed it out to stop build paths
leaking onto the target.

[ YOCTO #13403 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-extended/libidn/libidn2_2.2.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-extended/libidn/libidn2_2.2.0.bb b/meta/recipes-extended/libidn/libidn2_2.2.0.bb
index d7fec89fba2..bcbfdd85b91 100644
--- a/meta/recipes-extended/libidn/libidn2_2.2.0.bb
+++ b/meta/recipes-extended/libidn/libidn2_2.2.0.bb
@@ -21,6 +21,10 @@ EXTRA_OECONF += "--disable-rpath \
                  --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
                  "
 
+do_install_append() {
+	sed -i -e 's|-L${STAGING_LIBDIR}||' ${D}${libdir}/pkgconfig/libidn2.pc
+}
+
 LICENSE_${PN} = "(GPLv2+ | LGPLv3)"
 LICENSE_${PN}-bin = "GPLv3+"
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-25 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-25 15:20 [PATCH 1/2] libidn2: remove build paths from libidn2.pc Ross Burton
2019-07-25 15:20 ` [PATCH 2/2] gnutls: don't use HOSTTOOLS_DIR/bash as a shell on target Ross Burton
2019-07-25 15:31 ` ✗ patchtest: failure for "libidn2: remove build paths fr..." and 1 more Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox