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

21 lines
458 B
Diff

--- a/src/tools/analyzer/Makefile.am
+++ b/src/tools/analyzer/Makefile.am
@@ -1,5 +1,7 @@
sss_analyze_pythondir = $(libexecdir)/sssd
+modulesdir = $(pkgpythondir)/modules
+if BUILD_PYTHON_BINDINGS
dist_sss_analyze_python_SCRIPTS = \
sss_analyze \
$(NULL)
@@ -15,8 +17,8 @@
sss_analyze.py \
$(NULL)
-modulesdir = $(pkgpythondir)/modules
dist_modules_DATA = \
modules/__init__.py \
modules/request.py \
$(NULL)
+endif