40 lines
965 B
Diff
40 lines
965 B
Diff
From 7fecf25e72225dfd2b3e8ba04e7ec8773fed1df8 Mon Sep 17 00:00:00 2001
|
|
From: wangxiao <wangxiao65@huawei.com>
|
|
Date: Wed, 21 Oct 2020 21:47:04 +0800
|
|
Subject: [PATCH] modify python2.7 to python3.8
|
|
|
|
---
|
|
configure | 2 +-
|
|
configure.ac | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 71574ce..dfd4ea6 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -7348,7 +7348,7 @@ fi
|
|
|
|
test -n "$PYTHON" && break
|
|
done
|
|
-test -n "$PYTHON" || PYTHON="python2.7"
|
|
+test -n "$PYTHON" || PYTHON="python3.8"
|
|
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 2a94208..c42a17b 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -785,7 +785,7 @@ AC_CHECK_PROGS(PYLINT, pylint, /bin/true)
|
|
AC_SUBST(PYLINT)
|
|
|
|
dnl check if python available for the build and runtime
|
|
-AC_CHECK_PROGS(PYTHON, python, python2.7)
|
|
+AC_CHECK_PROGS(PYTHON, python, python3.8)
|
|
AC_SUBST(PYTHON)
|
|
|
|
dnl check if python3 available for the build and runtime
|
|
--
|
|
2.23.0
|
|
|