]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
makefile: use python3 to detect modules
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 27 Feb 2018 16:49:30 +0000 (17:49 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 27 Feb 2018 16:53:47 +0000 (17:53 +0100)
platform.mk

index 2fac670ff4fe6c158dc3371ec984d15187d61f89..5498fec2fc0821d6865ecec207f6ce5f854809d8 100644 (file)
@@ -200,7 +200,7 @@ endef
 
 # Find Python package
 define find_pythonpkg
-       HAS_$(1) := $(shell python -c "import $(1)" > /dev/null 2>&1 && echo yes || echo no)
+       HAS_$(1) := $(shell python3 -c "import $(1)" > /dev/null 2>&1 && echo yes || echo no)
 endef
 
 define find_soname
@@ -227,4 +227,4 @@ endif
 endef # find_soname
 
 # Use this on OpenBSD
-#      
+#