mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
--- a/gdb/configure
|
|
+++ b/gdb/configure
|
|
@@ -11207,21 +11207,21 @@
|
|
# 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
|
|
as_fn_error $? "failure running python-config --includes" "$LINENO" 5
|
|
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
|
|
as_fn_error $? "failure running python-config --ldflags" "$LINENO" 5
|
|
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
|