summaryrefslogtreecommitdiff
path: root/src/systemd-update-utmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-update-utmp/Makefile')
-rw-r--r--src/systemd-update-utmp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systemd-update-utmp/Makefile b/src/systemd-update-utmp/Makefile
index 182c7534e7..c9c5f5eab2 100644
--- a/src/systemd-update-utmp/Makefile
+++ b/src/systemd-update-utmp/Makefile
@@ -23,6 +23,11 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
+ifneq ($(HAVE_UTMP),)
+libexec_PROGRAMS += \
+ systemd-update-utmp
+endif # HAVE_UTMP
+
systemd_update_utmp_SOURCES = \
src/update-utmp/update-utmp.c