Link statically to internal libraries
[babeltrace.git] / formats / ctf-text / Makefile.am
index ca033e058b31f1ed6dd6451130a1c6ad9a5519e2..4d84d928a3704c0b1370bf890db5daff4bfd4b84 100644 (file)
@@ -2,11 +2,14 @@ AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
 
 SUBDIRS = types .
 
-lib_LTLIBRARIES = libctf-text.la
+lib_LTLIBRARIES = libbabeltrace-ctf-text.la
 
-libctf_text_la_SOURCES = \
+libbabeltrace_ctf_text_la_SOURCES = \
        ctf-text.c
 
-libctf_text_la_LIBADD = \
-       types/libctf-text-types.la \
+libbabeltrace_ctf_text_la_LDFLAGS = \
+       -Wl,--no-as-needed \
+       types/libctf-text-types.la
+
+libbabeltrace_ctf_text_la_LIBADD = \
        $(top_builddir)/lib/libbabeltrace.la
This page took 0.030816 seconds and 4 git commands to generate.