diff options
author | Martin Milata <mmilata@redhat.com> | 2012-08-08 19:50:10 +0200 |
---|---|---|
committer | Martin Milata <mmilata@redhat.com> | 2012-08-10 15:07:49 +0200 |
commit | 7d5a1970215bf8537026c425d38d22465e4a07ee (patch) | |
tree | 0f6ee098c7804b3abc789448e2aa970d7dc3d054 /src/Makefile.am | |
parent | 2dbc26dde881af0a0130a492e04ab0493820da3e (diff) | |
download | libunwind-7d5a1970215bf8537026c425d38d22465e4a07ee.tar.gz |
Add liblzma detection to configure script
Signed-off-by: Martin Milata <mmilata@redhat.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index b3fd0433..6209b233 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -515,6 +515,9 @@ endif libunwind_la_LDFLAGS = $(COMMON_SO_LDFLAGS) -XCClinker -nostdlib \ $(LDFLAGS_STATIC_LIBCXA) -version-info $(SOVERSION) libunwind_la_LIBADD += -lc $(LIBCRTS) +if HAVE_LZMA + libunwind_la_LIBADD += -llzma +endif AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/tdep-$(arch) -I. AM_CCASFLAGS = $(AM_CPPFLAGS) |