[oe] [meta-oe][PATCH V2] libssh: depends fix

Armin Kuster akuster808 at gmail.com
Thu Jan 8 04:10:15 UTC 2015


the default was to build with GSSAPI enabled.

add PACKAGEGROUP to define enable/disable GSSAPI with
proper depends/rdepends of krb5

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-support/libssh/libssh_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-support/libssh/libssh_git.bb b/meta-oe/recipes-support/libssh/libssh_git.bb
index d21bdc3..4f5b703 100644
--- a/meta-oe/recipes-support/libssh/libssh_git.bb
+++ b/meta-oe/recipes-support/libssh/libssh_git.bb
@@ -20,6 +20,9 @@ EXTRA_OECMAKE = " \
     -DWITH_ZLIB=1 \
     "
 
+PACKAGECONFIG ??=""
+PACKAGECONFIG[gssapi] = "-DWITH_GSSAPI=1, -DWITH_GSSAPI=0, krb5, krb5"
+
 inherit cmake
 
 do_configure_prepend () {
-- 
1.9.1




More information about the Openembedded-devel mailing list