Signed-off-by: Karel Zak <kzak@redhat.com>
endif
if HAVE_PTY
su_SOURCES += lib/pty-session.c \
- include/pty-session.h
-su_LDADD += -lutil
+ include/pty-session.h \
+ lib/monotonic.c
+su_LDADD += -lutil $(REALTIME_LIBS)
endif
endif # BUILD_SU
endif
if HAVE_PTY
runuser_SOURCES += lib/pty-session.c \
- include/pty-session.h
-runuser_LDADD += -lutil
+ include/pty-session.h \
+ lib/monotonic.c
+runuser_LDADD += -lutil $(REALTIME_LIBS)
endif
endif # BUILD_RUNUSER
lib/pty-session.c \
nclude/pty-session.h \
lib/monotonic.c
-scriptlive_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) -lutil
+scriptlive_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) $(REALTIME_LIBS) -lutil
endif # BUILD_SCRIPTLIVE