diff mbox

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

Message ID 1450320934-34367-1-git-send-email-openwrt@daniel.thecshore.com
State Accepted
Headers show

Commit Message

Daniel Dickinson Dec. 17, 2015, 2:55 a.m. UTC
From: Daniel Dickinson <openwrt@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@daniel.thecshore.com>
---
 package/network/services/lldpd/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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