From 7561a59dcfa7a334055244a43195148c4bb0aad1 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 1 Jul 2013 22:18:02 +0000 Subject: 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@. --- modules/pam_rootok/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3