From: Mathieu Desnoyers Date: Mon, 9 Dec 2013 12:28:51 +0000 (-0500) Subject: Fix: libbabeltrace lib build dependencies X-Git-Tag: v1.2.0-rc1~31 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=b1bbab84d812a965cb0ce82a733d033c06f45dfd Fix: libbabeltrace lib build dependencies The "no-as-needed" is only needed for plugins, not for libraries we depend upon, so it is not really needed here. Using LIBADD instead ensures that libbabeltrace gets rebuilt whenever the content of libbabeltrace_types (statically linked) is modified. Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/Makefile.am b/lib/Makefile.am index fa470c09..4b78b477 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -11,8 +11,7 @@ libbabeltrace_la_SOURCES = babeltrace.c \ trace-collection.c \ registry.c -libbabeltrace_la_LDFLAGS = \ - -Wl,--no-as-needed \ +libbabeltrace_la_LIBADD = \ prio_heap/libprio_heap.la \ $(top_builddir)/types/libbabeltrace_types.la \ $(top_builddir)/compat/libcompat.la