diff options
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 7052157f..be059462 100644 --- a/Makefile.am +++ b/Makefile.am @@ -54,6 +54,15 @@ strace_SOURCES = \ util.c \ vsprintf.c +if USE_LIBUNWIND +strace_SOURCES += unwind.c +strace_CPPFLAGS = $(AM_CPPFLAGS) $(libunwind_CPPFLAGS) +strace_LDFLAGS = $(libunwind_LDFLAGS) +strace_LDADD = $(libunwind_LIBS) +else +strace_CPPFLAGS = $(AM_CPPFLAGS) +endif + noinst_HEADERS = defs.h # Enable this to get link map generated #strace_CFLAGS = $(AM_CFLAGS) -Wl,-Map=strace.mapfile |