network/services/lldpd: Fix missing dependency when using JSON
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Dec 2015 09:30:16 +0000 (09:30 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47928 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/services/lldpd/Config.in

index 93d84e2..72150e7 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