[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH] Fix libunwind-generic.so symbolic link never b
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH] Fix libunwind-generic.so symbolic link never being created in make install |
Date: |
Mon, 23 Jan 2012 09:59:54 +0200 |
Commit 7d43108f9c41a2ccbe0adc8713523ad60469e026 ("No
libunwind-generic.so if configured with --disable-shared") introduced a
check to avoid creating a broken libunwind-generic.so link, but the
result of the commit is that libunwind-generic.so is never created (at
least when installing to a clean directory).
We need to check for the installed libunwind-$(arch).so file,
libunwind-generic.so will be the symbolic link name.
---
src/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 26b1895..0c85450 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -332,7 +332,7 @@ else
#
install-exec-hook:
$(LN_S) -f libunwind-$(arch).a $(DESTDIR)$(libdir)/libunwind-generic.a
- if test -f $(DESTDIR)$(libdir)/libunwind-generic.so; then \
+ if test -f $(DESTDIR)$(libdir)/libunwind-$(arch).so; then \
$(LN_S) -f libunwind-$(arch).so \
$(DESTDIR)$(libdir)/libunwind-generic.so; \
fi
--
1.7.2.5
- [Libunwind-devel] [PATCH] Fix libunwind-generic.so symbolic link never being created in make install,
Tommi Rantala <=