aboutsummaryrefslogtreecommitdiffstats
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index b70fa53eca16..fa52bd11b4f6 100755
--- a/buildconf
+++ b/buildconf
@@ -112,8 +112,10 @@ ${AUTOCONF:-autoconf} $verbose
# Remove autoconf 2.5x's cache directory
rm -rf autom4te*.cache
+PYTHON=${PYTHON-`build/PrintPath python3 python2 python`}
+
echo "buildconf: generating 'make' outputs ..."
-build/gen-build.py $verbose make
+${PYTHON} build/gen-build.py $verbose make
# Create RPM Spec file
if [ -f `which cut` ]; then