summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2013-09-05 19:44:41 +0900
committerArun Sharma <arun@sharma-home.net>2013-09-11 00:11:17 -0700
commitdee708f4bc9aa169bd96e97c5e5ac851a10c7868 (patch)
tree49f28536687c2786f24827fd422f61ac73ad0572 /src/Makefile.am
parentaf23f0a04b9f58f05e2a6567fb619002b993950d (diff)
downloadlibunwind-dee708f4bc9aa169bd96e97c5e5ac851a10c7868.tar.gz
Missing -llzma in libunwind.pcbaserock/morph
liblzuma used in decoding MiniDebuginfo is not listed in libunwind.pc. Changes in version 2 of patch: * Don't check HAVE_LZMA. It is redundant. * Make liblzma as private libraries in use. Both are suggested by Mike Frysinger <vapier@gentoo.org>. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8c0c098e..cf137c08 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -611,9 +611,7 @@ 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
+libunwind_la_LIBADD += $(LIBLZMA)
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/tdep-$(arch) -I.
AM_CCASFLAGS = $(AM_CPPFLAGS)