diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-19 10:23:41 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-20 17:38:22 +0100 |
commit | e87b501659eecc22f48b3e3ca8cde6b4de9f663a (patch) | |
tree | ac2affb8331a27bca7f6403dd2d9f4582d549559 /meta/recipes-extended/libidn/libidn2_2.0.5.bb | |
parent | 0b57d371327e646ca1ff2e1fe71f7d4d3fbd23c1 (diff) | |
download | poky-e87b501659eecc22f48b3e3ca8cde6b4de9f663a.tar.gz |
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
(From OE-Core rev: 9a4ea4ff856e2379888ea5cdcc0e761956e1f53b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libidn/libidn2_2.0.5.bb')
-rw-r--r-- | meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb index 0d7bddbc7f..0daf7a6877 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" | |||
19 | 19 | ||
20 | inherit pkgconfig autotools gettext texinfo gtk-doc lib_package | 20 | inherit pkgconfig autotools gettext texinfo gtk-doc lib_package |
21 | 21 | ||
22 | EXTRA_OECONF += "--disable-rpath \ | ||
23 | --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ | ||
24 | " | ||
25 | |||
22 | LICENSE_${PN} = "(GPLv2+ | LGPLv3)" | 26 | LICENSE_${PN} = "(GPLv2+ | LGPLv3)" |
23 | LICENSE_${PN}-bin = "GPLv3+" | 27 | LICENSE_${PN}-bin = "GPLv3+" |
24 | 28 | ||