* [LTP] [PATCH] [COMMITTED] syscalls/clock_settime: Fix linking on older distros
@ 2019-01-30 15:16 Cyril Hrubis
0 siblings, 0 replies; only message in thread
From: Cyril Hrubis @ 2019-01-30 15:16 UTC (permalink / raw)
To: ltp
Older distributions require -lrt for clock_* syscalls.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/syscalls/clock_settime/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testcases/kernel/syscalls/clock_settime/Makefile b/testcases/kernel/syscalls/clock_settime/Makefile
index e6674a6b2..d1cf993dc 100644
--- a/testcases/kernel/syscalls/clock_settime/Makefile
+++ b/testcases/kernel/syscalls/clock_settime/Makefile
@@ -5,4 +5,6 @@ top_srcdir ?= ../../../..
include $(top_srcdir)/include/mk/testcases.mk
+LDLIBS+=-lrt
+
include $(top_srcdir)/include/mk/generic_leaf_target.mk
--
2.19.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-30 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 15:16 [LTP] [PATCH] [COMMITTED] syscalls/clock_settime: Fix linking on older distros Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.