[OpenWrt-Devel] [PATCH] network/services/lldpd: Fix missing dependency when using JSON

openwrt at daniel.thecshore.com openwrt at daniel.thecshore.com
Wed Dec 16 21:55:34 EST 2015


From: Daniel Dickinson <openwrt at 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 <openwrt at 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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list