From: Mathieu Desnoyers Date: Fri, 26 Nov 2010 01:01:51 +0000 (-0500) Subject: Fix Bug#604955: ust: FTBFS X-Git-Tag: v0.9~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6d3fdb32373932dc6485e1c6947fd182308d50fd;p=ust.git Fix Bug#604955: ust: FTBFS > Regarding the above subject, Your package FTBFS on ubuntu due to > indirect linking Fixed the test program by adding "-lpthread -lrt" to Makefile.am. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/trace_event/Makefile.am b/tests/trace_event/Makefile.am index dcf23a7..3e2fe81 100644 --- a/tests/trace_event/Makefile.am +++ b/tests/trace_event/Makefile.am @@ -2,7 +2,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include noinst_PROGRAMS = trace_event_test trace_event_test_SOURCES = trace_event_test.c trace_event_test.h -trace_event_test_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o +trace_event_test_LDADD = $(top_builddir)/libust/libust.la \ + $(top_builddir)/libust-initializer.o -lpthread -lrt CFLAGS_trace_event_test.o = -I$(src) noinst_SCRIPTS = run