From 0e68898a37fc9dc62d6195ea585d06684f64b27f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 16 Jan 2024 14:18:57 +0100 Subject: [PATCH] Fix: broken make update on new macOS build Properly check for the existence of the Python binary in precompiled libs. --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index ecd1f6bbd6d..d18b5f01a30 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -230,7 +230,7 @@ endif ifndef PYTHON # If not overriden, first try using Python from LIBDIR. PYTHON:=$(LIBDIR)/python/bin/python$(PY_LIB_VERSION) - ifeq (, $(PYTHON)) + ifeq (, $(wildcard $(PYTHON))) # If not available, use system python3 or python command. PYTHON:=python3 ifeq (, $(shell command -v $(PYTHON)))