[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-criu
Subject: [CRIU] [PATCH 4/6] make: use -pthread when linking with -lrt
From: filbranden () google ! com (Filipe Brandenburger)
Date: 2014-05-22 18:18:03
Message-ID: 1400782685-16244-5-git-send-email-filbranden () google ! com
[Download RAW message or body]
This is required when linking statically. It is also consistent with
the rules for other zdtm tests that link with -lrt.
Signed-off-by: Filipe Brandenburger <filbranden at google.com>
---
test/zdtm/live/static/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
index 7fee4e10b681..a38bf87726fc 100644
--- a/test/zdtm/live/static/Makefile
+++ b/test/zdtm/live/static/Makefile
@@ -261,7 +261,7 @@ sigaltstack: override LDLIBS += -pthread
shm: override CFLAGS += -DNEW_IPC_NS
msgque: override CFLAGS += -DNEW_IPC_NS
sem: override CFLAGS += -DNEW_IPC_NS
-posix_timers: override LDLIBS += -lrt
+posix_timers: override LDLIBS += -lrt -pthread
socket-tcp6: override CFLAGS += -D ZDTM_IPV6
socket-tcpbuf6: override CFLAGS += -D ZDTM_IPV6
socket-tcpbuf-local: override CFLAGS += -D ZDTM_TCP_LOCAL
--
1.9.1.423.g4596e3a
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic