projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Link statically to internal libraries
[babeltrace.git]
/
converter
/
Makefile.am
diff --git
a/converter/Makefile.am
b/converter/Makefile.am
index 3ecca8c2c24d61f3637f78d090479eabc0832d9b..389a9d98a84c8fe4e851334533266b443693f448 100644
(file)
--- a/
converter/Makefile.am
+++ b/
converter/Makefile.am
@@
-1,12
+1,22
@@
-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
-lpopt
-bin_PROGRAMS = babeltrace
+bin_PROGRAMS = babeltrace
babeltrace-log
babeltrace_SOURCES = \
babeltrace.c
babeltrace_SOURCES = \
babeltrace.c
+# -Wl,--no-as-needed is needed for recent gold linker who seems to think
+# it knows better and considers libraries with constructors having
+# side-effects as dead code.
+babeltrace_LDFLAGS = -Wl,--no-as-needed
babeltrace_LDADD = \
babeltrace_LDADD = \
- $(top_srcdir)/types/libtypes.a \
- $(top_srcdir)/formats/libregistry.a
+ $(top_builddir)/lib/libbabeltrace.la \
+ $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
+ $(top_builddir)/formats/ctf-text/libbabeltrace-ctf-text.la \
+ $(top_builddir)/formats/bt-dummy/libbabeltrace-dummy.la
+babeltrace_log_SOURCES = babeltrace-log.c
+babeltrace_log_LDADD = \
+ $(top_builddir)/lib/libbabeltrace.la \
+ $(top_builddir)/formats/ctf/libbabeltrace-ctf.la
This page took
0.024149 seconds
and
4
git commands to generate.