[ltt-dev] [UST PATCH] libustfork: link against libust

Nils Carlson nils.carlson at ericsson.com
Mon Mar 14 11:36:39 EDT 2011


libustfork needs to link against libust as it makes calls into
libust.

Signed-off-by: Nils Carlson <nils.carlson at ericsson.com>
---
 libustfork/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libustfork/Makefile.am b/libustfork/Makefile.am
index a53ddda..f2a9996 100644
--- a/libustfork/Makefile.am
+++ b/libustfork/Makefile.am
@@ -3,5 +3,7 @@ AM_CFLAGS = -fno-strict-aliasing
 
 lib_LTLIBRARIES = libustfork.la
 libustfork_la_SOURCES = ustfork.c
-libustfork_la_LIBADD = -ldl
+libustfork_la_LIBADD = \
+	-ldl \
+	$(top_builddir)/libust/libust.la
 libustfork_CFLAGS = -DUST_COMPONENT=libustfork -fno-strict-aliasing
-- 
1.7.1





More information about the lttng-dev mailing list