package/netsniff-ng: disable geoip and zlib if neeeded

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-06-14 23:24:45 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c0065069a7
commit fd0883ba21

View File

@ -27,6 +27,8 @@ endif
ifeq ($(BR2_PACKAGE_GEOIP),y)
NETSNIFF_NG_DEPENDENCIES += geoip
else
NETSNIFF_NG_CONF_OPTS += --disable-geoip
endif
ifeq ($(BR2_PACKAGE_LIBNL),y)
@ -41,6 +43,8 @@ endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
NETSNIFF_NG_DEPENDENCIES += zlib
else
NETSNIFF_NG_CONF_OPTS += --disable-zlib
endif
# hand-written configure script and makefile