liblttng-ust-libc: fix lib dependency
authorSamuel Martin <smartin@aldebaran-robotics.com>
Mon, 6 Feb 2012 13:27:23 +0000 (08:27 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 6 Feb 2012 13:28:05 +0000 (08:28 -0500)
liblttng-ust-libc.so depends on liblttng-ust.so but does not link
against it.

z$ ../linux32-cross-i686-aldebaran-linux-gnu/bin/i686-aldebaran-linux-gnu-nm -CD output/target/usr/lib/liblttng-ust-libc.so | grep -E 'U ltt'
         U ltt_probe_register
         U ltt_probe_unregister
z$ ../linux32-cross-i686-aldebaran-linux-gnu/bin/i686-aldebaran-linux-gnu-ldd --root output/target/ output/target/usr/lib/liblttng-ust-libc.so
        liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0xdeadbeef)
        libpthread.so.0 => /lib/libpthread.so.0 (0xdeadbeef)
        libc.so.6 => /lib/libc.so.6 (0xdeadbeef)
        ld-linux.so.2 => /lib/ld-linux.so.2 (0xdeadbeef)
        liburcu-common.so.1 => /usr/lib/liburcu-common.so.1 (0xdeadbeef)
        libuuid.so.1 => /lib/libuuid.so.1 (0xdeadbeef)
        libdl.so.2 => /lib/libdl.so.2 (0xdeadbeef)
z$ ../linux32-cross-i686-aldebaran-linux-gnu/bin/i686-aldebaran-linux-gnu-nm -CD output/target/usr/lib/liblttng-ust.so | grep ltt_probe_
0000a5cc T ltt_probe_register
0000a7d6 T ltt_probe_unregister
z$

Signed-off-by: Samuel Martin <smartin@aldebaran-robotics.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-libc/Makefile.am

index 99f0afeca13dffe0feca23ecd5e5e6875f26617a..2dd5ca9451d3565d6e938608e2158e13d2152023 100644 (file)
@@ -5,7 +5,7 @@ lib_LTLIBRARIES = liblttng-ust-libc.la
 liblttng_ust_libc_la_SOURCES = \
        lttng-ust-malloc.c \
        ust_libc.h
-liblttng_ust_libc_la_LIBADD = -ldl
+liblttng_ust_libc_la_LIBADD = -ldl -llttng-ust
 
 noinst_SCRIPTS = run
 EXTRA_DIST = run
This page took 0.025121 seconds and 4 git commands to generate.