summaryrefslogtreecommitdiffstats
path: root/login-utils/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/Makefile.am')
-rw-r--r--login-utils/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/login-utils/Makefile.am b/login-utils/Makefile.am
index 0a36e158f..404b7987f 100644
--- a/login-utils/Makefile.am
+++ b/login-utils/Makefile.am
@@ -67,6 +67,9 @@ else
login_SOURCES = login.c checktty.c login.h my_crypt.h
endif
+if HAVE_AUDIT
+login_LDADD += -laudit
+endif
if HAVE_SELINUX
chfn_SOURCES += selinux_utils.c selinux_utils.h