[oe-commits] [openembedded-core] 09/24: libidn2: Fix libunistring detection

git at git.openembedded.org git at git.openembedded.org
Sun Aug 19 22:20:28 UTC 2018


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

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

commit 4d881bc5ae91e20e278f8b6f542145bcdca2a106
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Aug 19 10:23:41 2018 -0700

    libidn2: Fix libunistring detection
    
    libunistring is one such library which many autotooled packages
    mistake to use from build system if its installed on it. This
    is specifically toxic when build host arch is same as target arch
    since we only see the problem during runtime but thankfully OE
    has build time QA which warns about it.
    
    QA Issue: libidn2: The compile log indicates that host include and/or library paths were used.
    
    Using --with-libunistring-prefix nudges the autoconf system for the
    component to first look into target sysroot before going on to search
    on the build host
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
index 0d7bddb..0daf7a6 100644
--- a/meta/recipes-extended/libidn/libidn2_2.0.5.bb
+++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb
@@ -19,6 +19,10 @@ DEPENDS = "virtual/libiconv libunistring"
 
 inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
 
+EXTRA_OECONF += "--disable-rpath \
+                 --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
+                 "
+
 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