aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/libgcrypt.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-22 10:52:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-28 08:23:56 +0100
commit74d73cf1e4607cb313b5e4c7138b555d5999a46d (patch)
treee24044eeffc7b11d9eaf4af669cad57b8d605229 /meta/recipes-support/libgcrypt/libgcrypt.inc
parentf0479e60b660778ab27b946d426daa17a08a28ea (diff)
downloadopenembedded-core-74d73cf1e4607cb313b5e4c7138b555d5999a46d.tar.gz
openembedded-core-74d73cf1e4607cb313b5e4c7138b555d5999a46d.tar.bz2
openembedded-core-74d73cf1e4607cb313b5e4c7138b555d5999a46d.zip
libgcrypt: Use pkg-config for dependencies
Use pkg-config instead of -config files in the m4 macros. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt.inc')
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc5
1 files changed, 5 insertions, 0 deletions
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