diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-01-21 23:05:36 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-01-21 22:36:10 +0000 |
commit | 70773c1a25dd5a2ae6611fddd7c4b1250ee429eb (patch) | |
tree | 2a3951a0a20ca095c7f177d94ed11b91b66e994e /modules/pam_limits | |
parent | 2f89e9caa043fb96a66056e6f5387bcef7c030a3 (diff) | |
download | pam-70773c1a25dd5a2ae6611fddd7c4b1250ee429eb.tar.gz pam-70773c1a25dd5a2ae6611fddd7c4b1250ee429eb.tar.bz2 pam-70773c1a25dd5a2ae6611fddd7c4b1250ee429eb.zip |
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 <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_limits')
-rw-r--r-- | modules/pam_limits/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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 |