[oe-commits] Enrico Scholz : systemd: depend on libgcrypt
git at git.openembedded.org
git at git.openembedded.org
Thu Apr 18 20:09:00 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: c7fe1d0085339e55566989b96d4d48412f0fa47d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c7fe1d0085339e55566989b96d4d48412f0fa47d
Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date: Thu Apr 18 20:22:46 2013 +0200
systemd: depend on libgcrypt
Although libgcrypt support is optional, its development files are
are always required to expand AM_PATH_LIBGCRYPT. Build might fails else
with
| libtoolize: copying file `m4/lt~obsolete.m4'
| configure.ac:446: warning: macro 'AM_PATH_LIBGCRYPT' not found in library
| ...
| configure.ac:446: error: possibly undefined macro: AM_PATH_LIBGCRYPT
| autoreconf: .../autoconf failed with exit status: 1
| + bbfatal 'autoreconf execution failed.'
| + echo 'ERROR: autoreconf execution failed.'
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/systemd/systemd_199.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb
index 159dfd8..43463c5 100644
--- a/meta/recipes-core/systemd/systemd_199.bb
+++ b/meta/recipes-core/systemd/systemd_199.bb
@@ -50,6 +50,9 @@ GTKDOC_DOCDIR = "${S}/docs/"
PACKAGECONFIG ??= "xz"
# Sign the journal for anti-tampering
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt"
+# regardless of PACKAGECONFIG, libgcrypt is always required to expand
+# the AM_PATH_LIBGCRYPT autoconf macro
+DEPENDS += "libgcrypt"
# Compress the journal
PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz"
More information about the Openembedded-commits
mailing list