mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-03 14:20:59 +00:00
Use Python 3 instead of Python 2 to generate test files
Python 2 is no longer officially supported, but we were still using it to generate test suite .c files from .function files when using GNU make. Switch to looking for Python 3. This change was done for CMake a long time ago. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
0bbb38c67e
commit
6b0f911b9a
|
@ -54,8 +54,7 @@ else
|
|||
DLEXT ?= so
|
||||
EXEXT=
|
||||
SHARED_SUFFIX=
|
||||
# python2 for POSIX since FreeBSD has only python2 as default.
|
||||
PYTHON ?= python2
|
||||
PYTHON ?= $(shell if type python3 >/dev/null 2>/dev/null; then echo python3; else echo python; fi)
|
||||
endif
|
||||
|
||||
# Zlib shared library extensions:
|
||||
|
|
Loading…
Reference in a new issue