[OE-core] [PATCH] gnutls: cleanup buildpaths from gnutls.pc

Jussi Kukkonen jussi.kukkonen at intel.com
Thu Sep 24 11:49:59 UTC 2015


On 24 September 2015 at 14:04, <wenzong.fan at windriver.com> wrote:

> From: Wenzong Fan <wenzong.fan at windriver.com>
>
> * gnutls.pc:
>   -L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64
>

I'm not seeing this problem and gnutls.pc.in file looks ok to me. Any idea
how I could reproduce this?

Jussi


Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
> ---
>  meta/recipes-support/gnutls/gnutls.inc | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/meta/recipes-support/gnutls/gnutls.inc
> b/meta/recipes-support/gnutls/gnutls.inc
> index e9b138a..0a5e663 100644
> --- a/meta/recipes-support/gnutls/gnutls.inc
> +++ b/meta/recipes-support/gnutls/gnutls.inc
> @@ -38,6 +38,11 @@ PACKAGECONFIG ??= "zlib"
>  PACKAGECONFIG[tpm] = "--with-tpm, --without-tpm, trousers"
>  PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib"
>
> +do_install_append() {
> +       # cleanup buildpaths from gnutls.pc
> +       sed -i -e 's#${STAGING_DIR_HOST}##g'
> ${D}${libdir}/pkgconfig/gnutls.pc
> +}
> +
>  PACKAGES =+ "${PN}-openssl ${PN}-xx"
>
>  FILES_${PN}-dev += "${bindir}/gnutls-cli-debug"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150924/bca93e98/attachment-0002.html>


More information about the Openembedded-core mailing list