$(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
$(top_builddir)/formats/ctf-metadata/libbabeltrace-ctf-metadata.la \
$(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la \
- $(top_builddir)/formats/lttng-live/libbabeltrace-lttng-live.la
+ $(top_builddir)/formats/lttng-live/libbabeltrace-lttng-live.la \
+ $(top_builddir)/plugins/libbabeltrace-plugin.la
+
+if ENABLE_DEBUG_INFO
+babeltrace_LDADD += $(top_builddir)/lib/libdebug-info.la
+endif
babeltrace_log_SOURCES = babeltrace-log.c