summaryrefslogtreecommitdiff
path: root/modules/pam_lastlog/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_lastlog/Makefile.am')
-rw-r--r--modules/pam_lastlog/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_lastlog/Makefile.am b/modules/pam_lastlog/Makefile.am
index 30b7bf1b..dc2fc631 100644
--- a/modules/pam_lastlog/Makefile.am
+++ b/modules/pam_lastlog/Makefile.am
@@ -9,7 +9,7 @@ secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include
AM_LDFLAGS = -no-undefined -avoid-version -module \
- -L$(top_builddir)/libpam -lpam
+ -L$(top_builddir)/libpam -lpam -lutil
if HAVE_VERSIONING
AM_LDFLAGS += -Wl,--version-script=../modules.map
endif