Fix: broken make update on new macOS build
Properly check for the existence of the Python binary in precompiled libs.
This commit is contained in:
@@ -230,7 +230,7 @@ endif
|
|||||||
ifndef PYTHON
|
ifndef PYTHON
|
||||||
# If not overriden, first try using Python from LIBDIR.
|
# If not overriden, first try using Python from LIBDIR.
|
||||||
PYTHON:=$(LIBDIR)/python/bin/python$(PY_LIB_VERSION)
|
PYTHON:=$(LIBDIR)/python/bin/python$(PY_LIB_VERSION)
|
||||||
ifeq (, $(PYTHON))
|
ifeq (, $(wildcard $(PYTHON)))
|
||||||
# If not available, use system python3 or python command.
|
# If not available, use system python3 or python command.
|
||||||
PYTHON:=python3
|
PYTHON:=python3
|
||||||
ifeq (, $(shell command -v $(PYTHON)))
|
ifeq (, $(shell command -v $(PYTHON)))
|
||||||
|
|||||||
Reference in New Issue
Block a user