From cfe1b0b70d54cfd56ecf6f26c9f190a88b3550d6 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 17 Nov 2022 11:14:32 +0100 Subject: [PATCH] configure: --with-pythondir should also override pyexecdir Fixes #512. * configure.ac: Here. * NEWS: Mention the bug. --- NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index a1f6267bb..feef2c0d8 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,10 @@ New in spot 2.11.2.dev (not yet released) during automata-based implication checks) would leak memory on abort. + - configure --with-pythondir should also redefine pyexecdir, + otherwise, libraries get installed in the wrong place on Debian. + (Issue #512.) + New in spot 2.11.2 (2022-10-26) Command-line tools: diff --git a/configure.ac b/configure.ac index 236063093..469ff0df4 100644 --- a/configure.ac +++ b/configure.ac @@ -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