From: Samuel Martin Date: Mon, 6 Feb 2012 13:27:23 +0000 (-0500) Subject: liblttng-ust-libc: fix lib dependency X-Git-Tag: v1.9.6~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6b6eebb622f8040f7f9d97a38dd992308d59ff9e;p=lttng-ust.git liblttng-ust-libc: fix lib dependency 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-libc/Makefile.am b/liblttng-ust-libc/Makefile.am index 99f0afec..2dd5ca94 100644 --- a/liblttng-ust-libc/Makefile.am +++ b/liblttng-ust-libc/Makefile.am @@ -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