configure: --with-pythondir should also override pyexecdir

Fixes #512.

* configure.ac: Here.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2022-11-17 11:14:32 +01:00
parent c2a3f2941d
commit cfe1b0b70d
2 changed files with 5 additions and 1 deletions

View file

@ -192,7 +192,7 @@ if test "x${enable_python:-yes}" = xyes; then
AC_ARG_WITH([pythondir],
[AS_HELP_STRING([--with-pythondir], [override the computed pythondir])],
[pythondir=$withval], [])
[pythondir=$withval pyexecdir=$withval], [])
fi