diff options
| author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2013-04-18 20:22:46 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-18 21:12:23 +0100 |
| commit | 7bf9d217ff38cd12562bc345d81efbcd84081a9a (patch) | |
| tree | ec1bfbbb72d65a5b33a75afd911a9f3747513a87 | |
| parent | acb5c00bad89fe7223e13feaf4d5edf808af1ec3 (diff) | |
| download | poky-7bf9d217ff38cd12562bc345d81efbcd84081a9a.tar.gz | |
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.'
(From OE-Core rev: c7fe1d0085339e55566989b96d4d48412f0fa47d)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | 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 159dfd8b86..43463c56fb 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/" | |||
| 50 | PACKAGECONFIG ??= "xz" | 50 | PACKAGECONFIG ??= "xz" |
| 51 | # Sign the journal for anti-tampering | 51 | # Sign the journal for anti-tampering |
| 52 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" | 52 | PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt" |
| 53 | # regardless of PACKAGECONFIG, libgcrypt is always required to expand | ||
| 54 | # the AM_PATH_LIBGCRYPT autoconf macro | ||
| 55 | DEPENDS += "libgcrypt" | ||
| 53 | # Compress the journal | 56 | # Compress the journal |
| 54 | PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" | 57 | PACKAGECONFIG[xz] = "--enable-xz,--disable-xz,xz" |
| 55 | 58 | ||
