diff options
author | Ross Burton <ross.burton@intel.com> | 2019-07-25 16:20:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-26 08:41:38 +0100 |
commit | 9b7a1653d8a30c232bf99fe26f9d1085c8e42f82 (patch) | |
tree | 20cda3edfda6deca2f5c0b17e714aa5f51e16698 | |
parent | f465205d03abebaa439399f06685e50bb11d59ed (diff) | |
download | poky-9b7a1653d8a30c232bf99fe26f9d1085c8e42f82.tar.gz |
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 ]
(From OE-Core rev: 2ab5a34357b86be19a1b1a85eac54fa0cf1e7fd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/libidn/libidn2_2.2.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/libidn/libidn2_2.2.0.bb b/meta/recipes-extended/libidn/libidn2_2.2.0.bb index d7fec89fba..bcbfdd85b9 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 \ | |||
21 | --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ | 21 | --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ |
22 | " | 22 | " |
23 | 23 | ||
24 | do_install_append() { | ||
25 | sed -i -e 's|-L${STAGING_LIBDIR}||' ${D}${libdir}/pkgconfig/libidn2.pc | ||
26 | } | ||
27 | |||
24 | LICENSE_${PN} = "(GPLv2+ | LGPLv3)" | 28 | LICENSE_${PN} = "(GPLv2+ | LGPLv3)" |
25 | LICENSE_${PN}-bin = "GPLv3+" | 29 | LICENSE_${PN}-bin = "GPLv3+" |
26 | 30 | ||