aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2024-01-21 23:05:36 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-21 22:36:10 +0000
commit70773c1a25dd5a2ae6611fddd7c4b1250ee429eb (patch)
tree2a3951a0a20ca095c7f177d94ed11b91b66e994e /modules/pam_unix
parent2f89e9caa043fb96a66056e6f5387bcef7c030a3 (diff)
downloadpam-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_unix')
-rw-r--r--modules/pam_unix/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am
index 1780e586..0deceacb 100644
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -29,7 +29,7 @@ else
secureconfdir = $(SCONFIGDIR)
endif
-AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
+AM_CFLAGS = -I$(top_srcdir)/libpam/include \
-DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\" \
-DUPDATE_HELPER=\"$(sbindir)/unix_update\" \
@TIRPC_CFLAGS@ @NSL_CFLAGS@ $(WARN_CFLAGS)