summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMartin Milata <mmilata@redhat.com>2012-08-08 19:50:10 +0200
committerMartin Milata <mmilata@redhat.com>2012-08-10 15:07:49 +0200
commit7d5a1970215bf8537026c425d38d22465e4a07ee (patch)
tree0f6ee098c7804b3abc789448e2aa970d7dc3d054 /src/Makefile.am
parent2dbc26dde881af0a0130a492e04ab0493820da3e (diff)
downloadlibunwind-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.am3
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)