Files

28 lines
1.1 KiB
Diff
Raw Permalink Normal View History

2022-09-26 14:00:03 +09:00
--- a/gdb/configure
+++ b/gdb/configure
@@ -11207,21 +11207,21 @@
2019-12-30 14:25:02 +01:00
# We have a python program to use, but it may be too old.
# Don't flag an error for --with-python=auto (the default).
have_python_config=yes
- python_includes=`${python_prog} ${srcdir}/python/python-config.py --includes`
+ python_includes=`@TERMUX_PREFIX@/bin/python-config --includes`
if test $? != 0; then
have_python_config=failed
if test "${with_python}" != auto; then
2022-09-26 14:00:03 +09:00
as_fn_error $? "failure running python-config --includes" "$LINENO" 5
2019-12-30 14:25:02 +01:00
fi
fi
- python_libs=`${python_prog} ${srcdir}/python/python-config.py --ldflags`
+ python_libs=`@TERMUX_PREFIX@/bin/python-config --ldflags`
if test $? != 0; then
have_python_config=failed
if test "${with_python}" != auto; then
2022-09-26 14:00:03 +09:00
as_fn_error $? "failure running python-config --ldflags" "$LINENO" 5
2019-12-30 14:25:02 +01:00
fi
fi
- python_prefix=`${python_prog} ${srcdir}/python/python-config.py --exec-prefix`
+ python_prefix=`@TERMUX_PREFIX@/bin/python-config --exec-prefix`
if test $? != 0; then
have_python_config=failed
if test "${with_python}" != auto; then