Fix Bug#604955: ust: FTBFS
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Nov 2010 01:01:51 +0000 (20:01 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Nov 2010 01:01:51 +0000 (20:01 -0500)
> 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 <mathieu.desnoyers@efficios.com>
tests/trace_event/Makefile.am

index dcf23a77c9c4f56c3b04dd7cbf25eab57082bd27..3e2fe8154dd6f2e343c1f7fee983bb652bdfe5a3 100644 (file)
@@ -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
This page took 0.025712 seconds and 4 git commands to generate.