summaryrefslogtreecommitdiff
path: root/modules/pam_rootok/Makefile.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2013-07-01 22:18:02 +0000
committerDmitry V. Levin <ldv@altlinux.org>2013-07-01 22:25:27 +0000
commit7561a59dcfa7a334055244a43195148c4bb0aad1 (patch)
tree1ccf8a24c307244918956a9b437b210b38ba8b3d /modules/pam_rootok/Makefile.am
parent40ff0c583388d1bb1ef1abfd8522d4aa45f6a7ec (diff)
pam_rootok: fix linking in --enable-audit mode
pam_rootok.c explicitly uses functions from libaudit, so the module has to be linked with the library. * modules/pam_rootok/Makefile.am (pam_rootok_la_LIBADD): Add @LIBAUDIT@.
Diffstat (limited to 'modules/pam_rootok/Makefile.am')
-rw-r--r--modules/pam_rootok/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index d132367a..f8f292eb 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -25,7 +25,7 @@ if HAVE_VERSIONING
endif
securelib_LTLIBRARIES = pam_rootok.la
-pam_rootok_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@
+pam_rootok_la_LIBADD = $(top_builddir)/libpam/libpam.la @LIBSELINUX@ @LIBAUDIT@
if ENABLE_REGENERATE_MAN
noinst_DATA = README