[Buildroot] libssh2 dependencies

Danomi Manchego danomimanchego123 at gmail.com
Thu Sep 26 15:20:36 UTC 2013


Ryan, Peter,

I was just looking at the select in libssh2/Config.in:

  select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL

If you don't already have either openssl or libgcrypt, then when you
enable libssh2, libgcrypt and libgpg-error get selected as if they are
unconditional dependencies - but then unselect themselves if you
enable openssl.  But it's not clear from menuconfig that this is an
option.  Would it be better to do:

  depends on BR2_PACKAGE_LIBGCRYPT || BR2_PACKAGE_OPENSSL

and then comment:

  comment "libssh2 requires libgcrypt or openssl"
    depends on (!BR2_PACKAGE_LIBGCRYPT && !BR2_PACKAGE_OPENSSL)

Just a thought ....

Danomi -


More information about the buildroot mailing list