From 952ac385ed9783a38bc5ad2611d424a18286f206 Mon Sep 17 00:00:00 2001 From: Yannick Brosseau Date: Fri, 18 Feb 2011 16:58:21 -0500 Subject: [PATCH] Add missing -lpthread to some tests Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- tests/register_test/Makefile.am | 2 +- tests/tracepoint/benchmark/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/register_test/Makefile.am b/tests/register_test/Makefile.am index ff25e08..c137aa8 100644 --- a/tests/register_test/Makefile.am +++ b/tests/register_test/Makefile.am @@ -2,4 +2,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libust noinst_PROGRAMS = register_test register_test_SOURCES = register_test.c tp.h -register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o +register_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread diff --git a/tests/tracepoint/benchmark/Makefile.am b/tests/tracepoint/benchmark/Makefile.am index 50f7bf5..1080b44 100644 --- a/tests/tracepoint/benchmark/Makefile.am +++ b/tests/tracepoint/benchmark/Makefile.am @@ -2,6 +2,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/include noinst_PROGRAMS = tracepoint_benchmark tracepoint_benchmark_SOURCES = tracepoint_benchmark.c tracepoint_benchmark.h -tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o +tracepoint_benchmark_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o -lpthread CFLAGS_tracepoint_benchmark.o = -I$(src) -g -- 2.34.1