From 74d73cf1e4607cb313b5e4c7138b555d5999a46d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 22 May 2014 10:52:43 +0100 Subject: libgcrypt: Use pkg-config for dependencies Use pkg-config instead of -config files in the m4 macros. Signed-off-by: Richard Purdie --- meta/recipes-support/libgcrypt/libgcrypt.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-support/libgcrypt/libgcrypt.inc') diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc index 724bf3d5a0..8afa945648 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt.inc +++ b/meta/recipes-support/libgcrypt/libgcrypt.inc @@ -18,6 +18,11 @@ inherit autotools-brokensep texinfo binconfig pkgconfig EXTRA_OECONF = "--disable-asm --with-capabilities" +do_configure_prepend () { + # Else these could be used in prefernce to those in aclocal-copy + rm ${S}/m4/*.m4 +} + # libgcrypt.pc is added locally and thus installed here do_install_append() { install -d ${D}/${libdir}/pkgconfig -- cgit 1.2.3-korg