summaryrefslogtreecommitdiffstats
path: root/login-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2014-05-06 13:16:05 +0200
committerKarel Zak2014-05-06 13:16:05 +0200
commit08ca3e26a8feb0353a960b6b6d20ccb2755db8af (patch)
tree68dd836cdb30cf752643f047b4f6548a4065d409 /login-utils/Makemodule.am
parenthwclock: fix typo (diff)
downloadkernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.gz
kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.xz
kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.zip
lib/timeutils: remove get_boot_time from libcommon
clock_gettime() needs -lrt, so let's keep this stuff outside libcommon.la Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/Makemodule.am')
-rw-r--r--login-utils/Makemodule.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/Makemodule.am b/login-utils/Makemodule.am
index aca028a29..49fde4544 100644
--- a/login-utils/Makemodule.am
+++ b/login-utils/Makemodule.am
@@ -4,8 +4,8 @@ usrbin_exec_PROGRAMS += last
dist_man_MANS += \
login-utils/last.1 \
login-utils/lastb.1
-last_SOURCES = login-utils/last.c lib/strutils.c
-last_LDADD = $(LDADD) libcommon.la
+last_SOURCES = login-utils/last.c lib/boottime.c
+last_LDADD = $(LDADD) libcommon.la -lrt
install-exec-hook-last:
cd $(DESTDIR)$(usrbin_execdir) && ln -sf last lastb