mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-08 18:33:42 +01:00
No libunwind-generic.so if configured with --disable-shared
Installing a libunwind that was configured with --disable-shared results in a broken libunwind-generic.so link. This patch avoids this broken link.
This commit is contained in:
parent
ea7160a841
commit
7d43108f9c
1 changed files with 7 additions and 3 deletions
|
@ -326,12 +326,16 @@ install-exec-hook:
|
|||
else
|
||||
#
|
||||
# This is not ideal, but I know of no other way to install an
|
||||
# alias for a library.
|
||||
# alias for a library. For the shared version, we have to do
|
||||
# a file check before creating the link, because it isn't going
|
||||
# to be there if the user configured with --disable-shared.
|
||||
#
|
||||
install-exec-hook:
|
||||
$(LN_S) -f libunwind-$(arch).a $(DESTDIR)$(libdir)/libunwind-generic.a
|
||||
$(LN_S) -f libunwind-$(arch).so \
|
||||
$(DESTDIR)$(libdir)/libunwind-generic.so
|
||||
if test -f $(DESTDIR)$(libdir)/libunwind-generic.so; then \
|
||||
$(LN_S) -f libunwind-$(arch).so \
|
||||
$(DESTDIR)$(libdir)/libunwind-generic.so; \
|
||||
fi
|
||||
endif
|
||||
|
||||
if OS_LINUX
|
||||
|
|
Loading…
Reference in a new issue