summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2015-11-17 15:21:11 +0000
committerJohan Hedberg <johan.hedberg@intel.com>2015-11-22 16:09:22 +0300
commit431c44e5ad437de5f29b5004bde7bb6820cfa636 (patch)
tree04e3ea8bdaf44a63141fdc04ccd6b6fbc6a519fe
parent9b2abb1fa279b1cd9cab0031a477bf6933f120a7 (diff)
downloadbluez-431c44e5ad437de5f29b5004bde7bb6820cfa636.tar.gz
build: Link mcaptest with -lrt
profiles/health/mcap.c uses clock_gettime(3) so it needs to be linked with -lrt on some systems.
-rw-r--r--Makefile.tools2
1 files changed, 1 insertions, 1 deletions
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 \