From 3d9add682c18df1f95a0af4ed3c2751e118a7ba1 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 5 May 2020 17:21:36 -0600 Subject: Use the proper python version in the libpython dependency on Debian. The configure script already detects the python version, we just need to use it. --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index c1d3ff105..112f3c6c7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,6 +53,9 @@ sudoers_gid = @SUDOERS_GID@ sudoers_mode = @SUDOERS_MODE@ shlib_mode = @SHLIB_MODE@ +# Version of python detected by configure (major.minor) +python_version = @PYTHON_VERSION@ + SUBDIRS = lib/util @ZLIB_SRC@ lib/iolog @LOGSRV@ @LOGSRVD@ \ plugins/audit_json plugins/group_file plugins/sample_approval \ plugins/sudoers plugins/system_group @PYTHON_PLUGIN_SRC@ src \ @@ -391,6 +394,7 @@ package: @PPFILES@ sudoers_gid=$(sudoers_gid) \ sudoers_mode=$(sudoers_mode) \ shlib_mode=$(shlib_mode) \ + python_version=$(python_version) \ version=$(VERSION) $(PPVARS); \ done -- cgit v1.2.1