mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 00:57:39 +01:00
Add the appropriate libraries to the *_LDADD variables.
The test-async-sig.c, test-flush-cache.c and Ltest_resume_sig.c define UNW_LOCAL_ONLY and therefore only need LIBUNWIND_local. Gtest-dyn1.c is calling '_U_dyn_cancel' and test-trace.c is using 'unw_backtrace' which are in LIBUNWIND_local. Signed-off-by: Ken Werner <ken.werner@linaro.org>
This commit is contained in:
parent
ae5c1f2adf
commit
d589e20506
1 changed files with 6 additions and 6 deletions
|
@ -107,7 +107,7 @@ Ltest_nocalloc_SOURCES = Ltest-nocalloc.c
|
||||||
Gtest_trace_SOURCES = Gtest-trace.c ident.c
|
Gtest_trace_SOURCES = Gtest-trace.c ident.c
|
||||||
Ltest_trace_SOURCES = Ltest-trace.c ident.c
|
Ltest_trace_SOURCES = Ltest-trace.c ident.c
|
||||||
|
|
||||||
LIBUNWIND = $(top_builddir)/src/libunwind-$(arch).la $(LIBUNWIND_local)
|
LIBUNWIND = $(top_builddir)/src/libunwind-$(arch).la
|
||||||
LIBUNWIND_ptrace = $(top_builddir)/src/libunwind-ptrace.a
|
LIBUNWIND_ptrace = $(top_builddir)/src/libunwind-ptrace.a
|
||||||
|
|
||||||
if USE_ELF32
|
if USE_ELF32
|
||||||
|
@ -123,8 +123,8 @@ endif
|
||||||
LIBUNWIND_setjmp = $(top_builddir)/src/libunwind-setjmp.la \
|
LIBUNWIND_setjmp = $(top_builddir)/src/libunwind-setjmp.la \
|
||||||
$(LIBUNWIND_ELF) $(LIBUNWIND)
|
$(LIBUNWIND_ELF) $(LIBUNWIND)
|
||||||
|
|
||||||
test_async_sig_LDADD = $(LIBUNWIND) -lpthread
|
test_async_sig_LDADD = $(LIBUNWIND_local) -lpthread
|
||||||
test_flush_cache_LDADD = $(LIBUNWIND)
|
test_flush_cache_LDADD = $(LIBUNWIND_local)
|
||||||
test_init_remote_LDADD = $(LIBUNWIND)
|
test_init_remote_LDADD = $(LIBUNWIND)
|
||||||
test_mem_LDADD = $(LIBUNWIND)
|
test_mem_LDADD = $(LIBUNWIND)
|
||||||
test_ptrace_LDADD = $(LIBUNWIND_ptrace) $(LIBUNWIND)
|
test_ptrace_LDADD = $(LIBUNWIND_ptrace) $(LIBUNWIND)
|
||||||
|
@ -136,12 +136,12 @@ test_varargs_LDADD = @BACKTRACELIB@
|
||||||
|
|
||||||
Gtest_bt_LDADD = $(LIBUNWIND)
|
Gtest_bt_LDADD = $(LIBUNWIND)
|
||||||
Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread
|
Gtest_concurrent_LDADD = $(LIBUNWIND) -lpthread
|
||||||
Gtest_dyn1_LDADD = $(LIBUNWIND)
|
Gtest_dyn1_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
|
||||||
Gtest_exc_LDADD = $(LIBUNWIND)
|
Gtest_exc_LDADD = $(LIBUNWIND)
|
||||||
Gtest_init_LDADD = $(LIBUNWIND)
|
Gtest_init_LDADD = $(LIBUNWIND)
|
||||||
Gtest_resume_sig_LDADD = $(LIBUNWIND)
|
Gtest_resume_sig_LDADD = $(LIBUNWIND)
|
||||||
Gperf_simple_LDADD = $(LIBUNWIND)
|
Gperf_simple_LDADD = $(LIBUNWIND)
|
||||||
Gtest_trace_LDADD=$(LIBUNWIND)
|
Gtest_trace_LDADD=$(LIBUNWIND) $(LIBUNWIND_local)
|
||||||
Gperf_trace_LDADD = $(LIBUNWIND)
|
Gperf_trace_LDADD = $(LIBUNWIND)
|
||||||
|
|
||||||
Ltest_bt_LDADD = $(LIBUNWIND_local)
|
Ltest_bt_LDADD = $(LIBUNWIND_local)
|
||||||
|
@ -151,7 +151,7 @@ Ltest_exc_LDADD = $(LIBUNWIND_local)
|
||||||
Ltest_init_LDADD = $(LIBUNWIND_local)
|
Ltest_init_LDADD = $(LIBUNWIND_local)
|
||||||
Ltest_nomalloc_LDADD = $(LIBUNWIND_local) @DLLIB@
|
Ltest_nomalloc_LDADD = $(LIBUNWIND_local) @DLLIB@
|
||||||
Ltest_nocalloc_LDADD = $(LIBUNWIND_local) @DLLIB@ -lpthread
|
Ltest_nocalloc_LDADD = $(LIBUNWIND_local) @DLLIB@ -lpthread
|
||||||
Ltest_resume_sig_LDADD = $(LIBUNWIND)
|
Ltest_resume_sig_LDADD = $(LIBUNWIND_local)
|
||||||
Lperf_simple_LDADD = $(LIBUNWIND_local)
|
Lperf_simple_LDADD = $(LIBUNWIND_local)
|
||||||
Ltest_trace_LDADD = $(LIBUNWIND_local)
|
Ltest_trace_LDADD = $(LIBUNWIND_local)
|
||||||
Lperf_trace_LDADD = $(LIBUNWIND_local)
|
Lperf_trace_LDADD = $(LIBUNWIND_local)
|
||||||
|
|
Loading…
Reference in a new issue