summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/nmap/nmap.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk
index 4ed39bf7b4..c7e2225873 100644
--- a/package/nmap/nmap.mk
+++ b/package/nmap/nmap.mk
@@ -21,4 +21,11 @@ else
NMAP_CONF_OPT += --without-openssl
endif
+# ndiff only works with python2.x
+ifeq ($(BR2_PACKAGE_PYTHON),y)
+NMAP_DEPENDENCIES += python
+else
+NMAP_CONF_OPT += --without-ndiff
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud