summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-17 19:10:45 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-07 13:13:02 -0500
commit34bc02c7bc8b7e8c267e6da9a8c35a6c25f1b72e (patch)
treeae7175fb5d72c632a5e50984ffa32d39585d67aa /testsuite/mk
parentacf40cae24dab7be7c719dba191daa5cf9f7e676 (diff)
downloadhaskell-34bc02c7bc8b7e8c267e6da9a8c35a6c25f1b72e.tar.gz
configure: Find Python3 for testsuite
In addition, we prefer the Mingw64 Python distribution on Windows due to #17483.
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/boilerplate.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk
index 7eb89d9785..5cdc40e68c 100644
--- a/testsuite/mk/boilerplate.mk
+++ b/testsuite/mk/boilerplate.mk
@@ -217,7 +217,7 @@ $(eval $(call canonicalise,TOP_ABS))
GS = gs
CP = cp
RM = rm -f
-PYTHON = python3
+PYTHON ?= python3
ifeq "$(CHECK_API_ANNOTATIONS)" ""
CHECK_API_ANNOTATIONS := $(abspath $(TOP)/../inplace/bin/check-api-annotations)