From 431c44e5ad437de5f29b5004bde7bb6820cfa636 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Tue, 17 Nov 2015 15:21:11 +0000 Subject: build: Link mcaptest with -lrt 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 d849bd94e..6ebbe9fca 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 \ -- cgit v1.2.1