configure fix for msys2 + mingw Python
For some unknown reason msys2 and mingw adds trailing whitespace when running: python3-config --exec-prefix
This commit is contained in:
parent
f3ad4e030c
commit
b3cc8fe8f9
1 changed files with 2 additions and 1 deletions
|
|
@ -826,7 +826,8 @@ else
|
|||
PY3PREFIX=`($PY3CONFIG --prefix) 2>/dev/null`
|
||||
AC_MSG_RESULT($PY3PREFIX)
|
||||
AC_MSG_CHECKING(for Python 3.x exec-prefix)
|
||||
PY3EPREFIX=`($PY3CONFIG --exec-prefix) 2>/dev/null`
|
||||
# Piped through xargs to strip trailing whitespace (bug in msys2 + mingw Python)
|
||||
PY3EPREFIX=`($PY3CONFIG --exec-prefix | xargs) 2>/dev/null`
|
||||
AC_MSG_RESULT($PY3EPREFIX)
|
||||
|
||||
# Note: I could not think of a standard way to get the version string from different versions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue