[Buildroot] [PATCH 6/7] libnetconf2: adjust dependencies
Jan Kundrát
jan.kundrat at cesnet.cz
Wed Dec 4 10:47:53 UTC 2019
This package needs at least one of these two options, or both:
- openssl
- libssh + the server option
Without these, it is not possible to produce a usable library, so let's
reflect this in the dependencies.
I'm not sure that there is so much value in this; I would actually
prefer to have both of these unconditionally enabled, but the package is
already done in this way, so be it.
Signed-off-by: Jan Kundrát <jan.kundrat at cesnet.cz>
---
package/libnetconf2/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libnetconf2/Config.in b/package/libnetconf2/Config.in
index 0a735b5ed6..6d4c9c71d1 100644
--- a/package/libnetconf2/Config.in
+++ b/package/libnetconf2/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBNETCONF2
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
depends on BR2_USE_MMU
+ depends on BR2_PACKAGE_LIBSSH_SERVER || BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBYANG
help
libnetconf2 is a NETCONF library in C intended for building
@@ -13,3 +14,6 @@ config BR2_PACKAGE_LIBNETCONF2
comment "libnetconf2 needs a toolchain w/ threads, dynamic libraray"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+
+comment "libnetconf2 requires libssh w/ server support and/or openssl"
+ depends on !BR2_PACKAGE_LIBSSH_SERVER && !BR2_PACKAGE_OPENSSL
--
2.21.0
More information about the buildroot
mailing list