network/services/lldpd: Fix missing dependency when using JSON
authorJohn Crispin <john@openwrt.org>
Thu, 17 Dec 2015 09:30:16 +0000 (09:30 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 17 Dec 2015 09:30:16 +0000 (09:30 +0000)
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>
SVN-Revision: 47928

package/network/services/lldpd/Config.in

index 93d84e29ea1af42de1e61174591361081643f07e..72150e7e6fa9f1a7effdb524c2249b64e466db1f 100644 (file)
@@ -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