Skip to content

Commit 60874ba

Browse files
oleavrcodebytere
authored andcommitted
build: try “python3” as a last resort for 3.x
So that Xcode's Python 3 gets picked up. PR-URL: #35983 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 77b47df commit 60874ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ command -v python3.8 >/dev/null && exec python3.8 "$0" "$@"
1010
command -v python3.7 >/dev/null && exec python3.7 "$0" "$@"
1111
command -v python3.6 >/dev/null && exec python3.6 "$0" "$@"
1212
command -v python3.5 >/dev/null && exec python3.5 "$0" "$@"
13+
command -v python3 >/dev/null && exec python3 "$0" "$@"
1314
command -v python2.7 >/dev/null && exec python2.7 "$0" "$@"
1415
exec python "$0" "$@"
1516
''' "$0" "$@"

0 commit comments

Comments
 (0)