mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 00:17:43 +00:00
nmap: make ndiff conditional on python2
ndiff only works when target python2 is available, so disable it completely when it's not. Fixes: http://autobuild.buildroot.net/results/402/40269fd96a3b62fa187e9b26e5ab4ce4e7711f95/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7a3861f23f
commit
126d5b5bb8
@ -21,4 +21,11 @@ else
|
|||||||
NMAP_CONF_OPT += --without-openssl
|
NMAP_CONF_OPT += --without-openssl
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user