From 6d3fdb32373932dc6485e1c6947fd182308d50fd Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 25 Nov 2010 20:01:51 -0500 Subject: [PATCH] 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 --- tests/trace_event/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.34.1