package/bind: add libmaxminddb optional dependency
Add libmaxminddb optional dependency (which is enabled by default), two options must be used to enable/disable this dependency: [pairwise: --enable-geoip --with-maxminddb=auto, --enable-geoip --with-maxminddb=yes, --disable-geoip] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3acd6452fb
commit
25eea4424f
@ -61,6 +61,13 @@ else
|
||||
BIND_CONF_OPTS += --with-gssapi=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||
BIND_CONF_OPTS += --enable-geoip --with-maxminddb
|
||||
BIND_DEPENDENCIES += libmaxminddb
|
||||
else
|
||||
BIND_CONF_OPTS += --disable-geoip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
BIND_CONF_OPTS += --with-libxml2
|
||||
BIND_DEPENDENCIES += libxml2
|
||||
|
Loading…
Reference in New Issue
Block a user