From: Daniel Dickinson <open...@daniel.thecshore.com>

Using the JSON output option depends on json library so
add select json-c library when JSON output is selected.

Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com>
---
 package/network/services/lldpd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/services/lldpd/Config.in 
b/package/network/services/lldpd/Config.in
index 93d84e2..72150e7 100644
--- a/package/network/services/lldpd/Config.in
+++ b/package/network/services/lldpd/Config.in
@@ -49,6 +49,7 @@ config LLDPD_WITH_CUSTOM
 config LLDPD_WITH_JSON
        bool
        prompt "Enable JSON output for the LLDP Command-Line Interface"
+       select PACKAGE_json-c
        default n
 
 endmenu
-- 
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to