Fix: missing includes break the out-of-tree build
[babeltrace.git] / formats / ctf / Makefile.am
index d79d9ef38030166725f9f80feafdc81dcb21ce76..2267ce5731fa08f8dca10a7bfd6b8979cac0ba37 100644 (file)
@@ -1,4 +1,5 @@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include \
+               -I$(top_builddir)/formats/ctf
 
 SUBDIRS = types metadata writer .
 
@@ -13,7 +14,7 @@ libbabeltrace_ctf_la_SOURCES = \
 
 # Request that the linker keeps all static libraries objects.
 libbabeltrace_ctf_la_LDFLAGS = \
-       -Wl,--no-as-needed
+       $(LD_NO_AS_NEEDED) -version-info $(BABELTRACE_LIBRARY_VERSION)
 
 libbabeltrace_ctf_la_LIBADD = \
        $(top_builddir)/lib/libbabeltrace.la \
This page took 0.025495 seconds and 4 git commands to generate.