[oe-commits] [openembedded-core] 13/25: libidn2: remove build paths from libidn2.pc

git at git.openembedded.org git at git.openembedded.org
Fri Jul 26 07:42:17 UTC 2019


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

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2ab5a34357b86be19a1b1a85eac54fa0cf1e7fd2
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Jul 25 16:20:22 2019 +0100

    libidn2: remove build paths from libidn2.pc
    
    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 d7fec89..bcbfdd8 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+"
 

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


More information about the Openembedded-commits mailing list