From: yannick.brosseau@gmail.com (Yannick Brosseau)
Subject: [ltt-dev] [UST PATCH] Add missing -lpthread to some tests
Date: Fri, 18 Feb 2011 13:01:52 -0500 [thread overview]
Message-ID: <1298052112-20373-1-git-send-email-yannick.brosseau@gmail.com> (raw)
Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
---
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
--
1.7.2.3
next reply other threads:[~2011-02-18 18:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 18:01 Yannick Brosseau [this message]
2011-02-18 20:34 ` Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298052112-20373-1-git-send-email-yannick.brosseau@gmail.com \
--to=yannick.brosseau@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox