summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2020-05-05 17:21:36 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2020-05-05 17:21:36 -0600
commit3d9add682c18df1f95a0af4ed3c2751e118a7ba1 (patch)
treeb532fa15617a616d20f44d924bc2520b78d05dce /Makefile.in
parent13d7089fa9048631f5163cd111b340cda6f1c4f4 (diff)
downloadsudo-3d9add682c18df1f95a0af4ed3c2751e118a7ba1.tar.gz
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
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