[OE-core] [PATCH] gnutls: cleanup buildpaths from gnutls.pc
wenzong fan
wenzong.fan at windriver.com
Fri Sep 25 04:48:53 UTC 2015
On 09/24/2015 07:49 PM, Jussi Kukkonen wrote:
> On 24 September 2015 at 14:04, <wenzong.fan at windriver.com
> <mailto:wenzong.fan at windriver.com>> wrote:
>
> From: Wenzong Fan <wenzong.fan at windriver.com
> <mailto: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 <http://gnutls.pc.in> file
> looks ok to me. Any idea how I could reproduce this?
Sorry for the confusion, I'll update the commit logs.
To reproduce the issue with qemux86-64:
1. update local.conf:
MACHINE ?= "qemux86-64"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32 multilib:lib64"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "x86"
DEFAULTTUNE_virtclass-multilib-lib64 ?= "x86-64"
2. run bitbake gnutls
3. check gnutls.pc:
Libs.private:
-L/buildarea/raid5/wfan/yocto/builds/poky-build/tmp/sysroots/qemux86-64/usr/lib64
-lz -lgmp
Thanks
Wenzong
>
> Jussi
>
> Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com
> <mailto: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
> <mailto:Openembedded-core at lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
More information about the Openembedded-core
mailing list