diff Makefile.in @ 5901:f062bdb4f0a3

Rename build-python3 to build-python. Also rename makefile variable PYTHON3 to MXE_PYTHON. Change all references.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 25 Sep 2021 10:54:03 +0200
parents 504476481baf
children 7c0066684448
line wrap: on
line diff
--- a/Makefile.in	Thu Sep 23 18:23:22 2021 +0200
+++ b/Makefile.in	Sat Sep 25 10:54:03 2021 +0200
@@ -272,7 +272,7 @@
 # to packages that need them
 BUILD_TOOLS_OPT := \
   build-libffi build-mako build-markupsafe build-meson build-ninja \
-  build-python3 build-octave build-setuptools build-scons
+  build-python build-octave build-setuptools build-scons
 BUILD_TOOLS := $(filter-out $(BUILD_TOOLS_OPT), $(BUILD_TOOLS))
 # Building flex for native mingw fails, so disable it.
 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
@@ -298,9 +298,9 @@
 # use a native python in native mingw
 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
   REQUIREMENTS += python3
-  BUILD_TOOLS := $(filter-out build-python3, $(BUILD_TOOLS))
+  BUILD_TOOLS := $(filter-out build-python, $(BUILD_TOOLS))
 endif
-PYTHON3 ?= python3
+MXE_PYTHON ?= python3
 
 # use the a native awk in native mingw
 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)