Skip to content

Commit

Permalink
build: default PYTHON to python3 in Makefile
Browse files Browse the repository at this point in the history
So that direct calls to `make` which spawn the configure script do not use Python 2.

PR-URL: #37764
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ash Cripps <acripps@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
targos authored and gengjiawen committed Apr 15, 2021
1 parent 8e80fc7 commit c3a5e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-include config.mk

BUILDTYPE ?= Release
PYTHON ?= python
PYTHON ?= python3
DESTDIR ?=
SIGN ?=
PREFIX ?= /usr/local
Expand Down

0 comments on commit c3a5e15

Please sign in to comment.