package/libnice: add optional dependency to openssl
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 31 Aug 2019 13:04:17 +0000 (15:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 16 Dec 2019 20:56:06 +0000 (21:56 +0100)
commitd49cec2a2d69229b2f50c61a80db46a4672f48b8
tree74a83243b36a2838c89f6b127c622212a7480c3e
parentf7b2e324e1b3ac437f5c0e915fd3007ca4b9c432
package/libnice: add optional dependency to openssl

Support for OpenSSL was added in version 0.1.15:
https://lists.freedesktop.org/archives/nice/2018-December/001443.html

With the option of using OpenSSL as a crypto provider, we can't keep
GnuTLS as the default, because using:

       select BR2_PACKAGE_GNUTLS if !BR2_PACKAGE_OPENSSL

causes a Kconfig circular dependency:

package/openssl/Config.in:4:error: recursive dependency detected!
package/openssl/Config.in:4: symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_GNUTLS
package/gnutls/Config.in:1: symbol BR2_PACKAGE_GNUTLS is selected by BR2_PACKAGE_OPENSSL

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: pass --with-crypto-library argument]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libnice/Config.in
package/libnice/libnice.mk