From: Dmitry V. Levin Date: Mon, 1 Jul 2013 22:18:02 +0000 (+0000) Subject: pam_rootok: fix linking in --enable-audit mode X-Git-Tag: Linux-PAM-1_1_7~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7561a59dcfa7a334055244a43195148c4bb0aad1;p=linux-pam 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@. --- 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