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>
(cherry picked from commit 25eea4424f
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c3d83ee69f
commit
4f021381af
@ -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