* [PATCH] build: Link mcaptest with -lrt
@ 2015-11-17 15:21 John Keeping
2015-11-22 13:11 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: John Keeping @ 2015-11-17 15:21 UTC (permalink / raw)
To: linux-bluetooth; +Cc: John Keeping
profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked
with -lrt on some systems.
---
Makefile.tools | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.tools b/Makefile.tools
index d849bd9..6ebbe9f 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -294,7 +294,7 @@ tools_mcaptest_SOURCES = tools/mcaptest.c \
btio/btio.h btio/btio.c \
src/log.c src/log.h \
profiles/health/mcap.h profiles/health/mcap.c
-tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
+tools_mcaptest_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lrt
tools_bneptest_SOURCES = tools/bneptest.c \
btio/btio.h btio/btio.c \
--
2.6.3.462.gbe2c914
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] build: Link mcaptest with -lrt
2015-11-17 15:21 [PATCH] build: Link mcaptest with -lrt John Keeping
@ 2015-11-22 13:11 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2015-11-22 13:11 UTC (permalink / raw)
To: John Keeping; +Cc: linux-bluetooth
Hi John,
On Tue, Nov 17, 2015, John Keeping wrote:
> profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked
> with -lrt on some systems.
> ---
> Makefile.tools | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-22 13:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-17 15:21 [PATCH] build: Link mcaptest with -lrt John Keeping
2015-11-22 13:11 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).