diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-19 12:07:12 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-19 12:38:45 +0200 |
commit | 8d4e028f1868c47864ec873d9f30c3ee961a8849 (patch) | |
tree | 8a16e81f48f49c2d5aa210d8992f0c7d4a8470c2 /Makefile.am | |
parent | 8271bd16ce9327834d8580e55bb5e4e0896fd98a (diff) |
coredump: include stacktrace of coredumps in the log message
elfutils' libdw is maintained, can read DWARF debug data and appears to
be the library of choice for generating backtraces today.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 7c20e33845..bd3313815a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3686,6 +3686,15 @@ systemd_coredump_LDADD = \ libsystemd-internal.la \ libsystemd-shared.la +if HAVE_ELFUTILS +systemd_coredump_SOURCES += \ + src/journal/stacktrace.c \ + src/journal/stacktrace.h + +systemd_coredump_LDADD += \ + $(ELFUTILS_LIBS) +endif + rootlibexec_PROGRAMS += \ systemd-coredump |