Previously python-config-u, a python-configure which returns unix paths, was passed to configure. Passing a python executable of python-config which returns Windows paths breaks the relocatable support somehow. This patch converts the exec-prefix result of the python-config script to a unix path so that things work as before.
12 lines
538 B
Diff
12 lines
538 B
Diff
--- gdb-8.0.1/gdb/configure.orig 2018-02-04 15:54:00.599198000 +0100
|
|
+++ gdb-8.0.1/gdb/configure 2018-02-04 15:53:04.392983200 +0100
|
|
@@ -9872,7 +9872,7 @@
|
|
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=`cygpath -u "$(${python_prog} ${srcdir}/python/python-config.py --exec-prefix)"`
|
|
if test $? != 0; then
|
|
have_python_config=failed
|
|
if test "${with_python}" != auto; then
|