the default was to build with GSSAPI enabled.

V3:
remove rdepends

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

Signed-off-by: Armin Kuster <akuster...@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..47fb39a 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, "
+
 inherit cmake
 
 do_configure_prepend () {
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to