From: Tomas Krizek Date: Tue, 27 Feb 2018 16:49:30 +0000 (+0100) Subject: makefile: use python3 to detect modules X-Git-Tag: v2.2.0~16^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d38b1bde20cbb5f62c03821ba6049b5523bf1f;p=thirdparty%2Fknot-resolver.git makefile: use python3 to detect modules --- diff --git a/platform.mk b/platform.mk index 2fac670ff..5498fec2f 100644 --- a/platform.mk +++ b/platform.mk @@ -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 -# +#