From e58bacb7ec462912e843fc616288995db88b7275 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Wed, 22 Jun 2016 07:38:20 +0300 Subject: libs: install backward compatibility symlinks Simplify the switch from uClibc to uClibc-ng. Apps already built against uClibc-0.9.x.y require .so.0 libs to present on target which in case of current uClibc-ng is not the case and those apps could not be run. This change creates symlinks from .so.1 to .so.0 for most of other libs in the same way as it was done by 23e96d89b6ab "ldso: install backward compatibility symlink by default" Signed-off-by: Alexey Brodkin Cc: Waldemar Brodkorb Cc: Vineet Gupta Cc: Anton Kolesov --- libcrypt/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcrypt') diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in index 94753f4ad..94feacb87 100644 --- a/libcrypt/Makefile.in +++ b/libcrypt/Makefile.in @@ -46,9 +46,13 @@ else $(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt_so.a $(libc.depend) endif $(call link.so,$(libcrypt_FULL_NAME),$(ABI_VERSION)) + # link for backward compatibility + $(call link.so,$(libcrypt_FULL_NAME),0) else $(top_builddir)lib/libcrypt.so: $(libcrypt_OUT)/libcrypt.oS | $(libc.depend) $(call linkm.so,$(libcrypt_FULL_NAME),$(ABI_VERSION)) + # link for backward compatibility + $(call linkm.so,$(libcrypt_FULL_NAME),0) endif $(libcrypt_OUT)/libcrypt_so.a: $(libcrypt-so-y) -- cgit v1.2.3