From 201bb8733d385c86b9d78ee061db071b92d03938 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Sat, 18 Aug 2012 12:37:00 -0700 Subject: [PATCH] Use libtool to build libunwind-ptrace --- src/Makefile.am | 5 ++--- tests/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6209b233..ab850dff 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,15 +9,14 @@ COMMON_SO_LDFLAGS = -XCClinker -nostartfiles lib_LIBRARIES = lib_LTLIBRARIES = if !REMOTE_ONLY -lib_LIBRARIES += libunwind-ptrace.a -lib_LTLIBRARIES += libunwind.la libunwind-coredump.la +lib_LTLIBRARIES += libunwind.la libunwind-coredump.la libunwind-ptrace.la endif noinst_HEADERS = noinst_LTLIBRARIES = ### libunwind-ptrace: -libunwind_ptrace_a_SOURCES = \ +libunwind_ptrace_la_SOURCES = \ ptrace/_UPT_elf.c \ ptrace/_UPT_accessors.c ptrace/_UPT_access_fpreg.c \ ptrace/_UPT_access_mem.c ptrace/_UPT_access_reg.c \ diff --git a/tests/Makefile.am b/tests/Makefile.am index 89557edf..dafd1c62 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -121,7 +121,7 @@ Gtest_trace_SOURCES = Gtest-trace.c ident.c Ltest_trace_SOURCES = Ltest-trace.c ident.c LIBUNWIND = $(top_builddir)/src/libunwind-$(arch).la -LIBUNWIND_ptrace = $(top_builddir)/src/libunwind-ptrace.a +LIBUNWIND_ptrace = $(top_builddir)/src/libunwind-ptrace.la LIBUNWIND_coredump = $(top_builddir)/src/libunwind-coredump.la if USE_ELF32