From 458c661be704782ba3f9bd5be7d3b96e6eb0fd7a Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Mon, 23 Jan 2012 09:59:54 +0200 Subject: [PATCH] Fix libunwind-generic.so symbolic link never being created in make install 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 26b1895c..0c85450d 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