From 00abb7c056f2b921e76c9a44d44229056d3168e9 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Mon, 5 Sep 2011 10:46:14 -0700 Subject: [PATCH] Reorder libraries in lib_LTLIBRARIES This fixes a make install time problem. --- src/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index f0e9a055..451d98c3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,7 @@ lib_LIBRARIES = lib_LTLIBRARIES = if !REMOTE_ONLY lib_LIBRARIES += libunwind-ptrace.a -lib_LTLIBRARIES += libunwind.la libunwind-setjmp.la +lib_LTLIBRARIES += libunwind.la endif noinst_HEADERS = @@ -477,6 +477,12 @@ endif # ARCH_HPPA endif # ARCH_IA64 endif # ARCH_ARM +# libunwind-setjmp depends on libunwind-$(arch). Therefore must be added +# at the end. +if !REMOTE_ONLY +lib_LTLIBRARIES += libunwind-setjmp.la +endif + # # Don't link with standard libraries, because those may mention # libunwind already.