mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-25 20:43:42 +01:00
Fix libunwind-generic.so symbolic link never being created in make install
Commit 7d43108f9c
("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.
This commit is contained in:
parent
52ca68c770
commit
458c661be7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue