From 70773c1a25dd5a2ae6611fddd7c4b1250ee429eb Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sun, 21 Jan 2024 23:05:36 +0100 Subject: modules: add pamc headers to the search path only when needed The pam client library libpamc is only needed if libpam_misc is in use. But libpam_misc is only used by an SELinux helper binary. Remove the libpamc includes from the search path in all other cases. Signed-off-by: Tobias Stoeckmann --- modules/pam_limits/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pam_limits') diff --git a/modules/pam_limits/Makefile.am b/modules/pam_limits/Makefile.am index 6d83fdb8..c60ddd06 100644 --- a/modules/pam_limits/Makefile.am +++ b/modules/pam_limits/Makefile.am @@ -22,7 +22,7 @@ secureconfdir = $(SCONFIGDIR) endif limits_conf_dir = $(SCONFIGDIR)/limits.d -AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ +AM_CFLAGS = -I$(top_srcdir)/libpam/include \ -DLIMITS_FILE_DIR=\"$(limits_conf_dir)\" \ $(WARN_CFLAGS) AM_LDFLAGS = -no-undefined -avoid-version -module -- cgit v1.2.3