package/bind: add json-c optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
75a287a4fa
commit
fbdcd55134
@ -33,7 +33,6 @@ BIND_CONF_ENV = \
|
||||
BIND_CONF_OPTS = \
|
||||
--without-cmocka \
|
||||
--without-lmdb \
|
||||
--with-json-c=no \
|
||||
--enable-epoll \
|
||||
--disable-backtrace \
|
||||
--with-openssl=$(STAGING_DIR)/usr
|
||||
@ -47,6 +46,13 @@ else
|
||||
BIND_CONF_OPTS += --without-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JSON_C),y)
|
||||
BIND_CONF_OPTS += --with-json-c
|
||||
BIND_DEPENDENCIES += json-c
|
||||
else
|
||||
BIND_CONF_OPTS += --without-json-c
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
BIND_CONF_OPTS += --enable-linux-caps
|
||||
BIND_DEPENDENCIES += libcap
|
||||
|
Loading…
Reference in New Issue
Block a user