satyr/use-python2-explicitly-in-configure.patch
2020-02-28 10:39:01 +08:00

26 lines
756 B
Diff

From 23315167127777c5fbd2abcd2e4fb58382f37179 Mon Sep 17 00:00:00 2001
From: hexiujun <hexiujun1@huawei.com>
Date: Fri, 28 Feb 2020 09:29:00 +0800
Subject: [PATCH] use python2 explicitly in configure
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index dca3c2d..9baa188 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ AC_ARG_WITH([python2],
AM_CONDITIONAL(WITH_PYTHON2, [test $with_python2 = yes])
[if test "$with_python2" = "yes"]
[then]
- AC_PATH_PROG([PYTHON], [python], [no])
+ AC_PATH_PROG([PYTHON], [python2], [no])
[if test "$PYTHON" = "no"]
[then]
[echo "The python program was not found in the search path. Please ensure"]
--
1.8.3.1