gentoo/sys-auth/sssd/files/sssd-2.9.1-conditional-python-install.patch

20 lines
533 B
Diff
Raw Normal View History

diff --git a/src/tools/analyzer/Makefile.am b/src/tools/analyzer/Makefile.am
index b40043d04..dce6b9d36 100644
2022-05-16 04:37:09 +02:00
--- a/src/tools/analyzer/Makefile.am
+++ b/src/tools/analyzer/Makefile.am
@@ -5,7 +5,9 @@ dist_sss_analyze_python_SCRIPTS = \
$(NULL)
pkgpythondir = $(python3dir)/sssd
2022-05-16 00:23:35 +02:00
+modulesdir = $(pkgpythondir)/modules
+if BUILD_PYTHON_BINDINGS
2022-06-22 23:55:44 +02:00
dist_pkgpython_DATA = \
__init__.py \
source_files.py \
@@ -20,3 +22,4 @@ dist_modules_DATA = \
2022-05-16 00:23:35 +02:00
modules/__init__.py \
modules/request.py \
$(NULL)
+endif