Переглянути джерело

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>
Fabrice Fontaine 3 роки тому
батько
коміт
fd0883ba21
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      package/netsniff-ng/netsniff-ng.mk

+ 4 - 0
package/netsniff-ng/netsniff-ng.mk

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