From 79d38b1bde20cbb5f62c03821ba6049b5523bf1f Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Tue, 27 Feb 2018 17:49:30 +0100 Subject: [PATCH] makefile: use python3 to detect modules --- platform.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -# +# -- 2.47.2