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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to