diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2016-06-22 07:38:20 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-23 20:48:25 +0200 |
commit | e58bacb7ec462912e843fc616288995db88b7275 (patch) | |
tree | cb7c0a506cdf02f1352594a55f2a75e1b5c4dbd2 /libutil | |
parent | 2eefe0ab83a21e2fa5575e6a1b8b999457984cc7 (diff) |
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 <abrodkin@synopsys.com>
Cc: Waldemar Brodkorb <wbx@uclibc-ng.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libutil/Makefile.in b/libutil/Makefile.in index 98b178ef9..7759482f0 100644 --- a/libutil/Makefile.in +++ b/libutil/Makefile.in @@ -55,9 +55,13 @@ else $(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil_so.a $(libc.depend) endif $(call link.so,$(libutil_FULL_NAME),$(ABI_VERSION)) + # link for backward compatibility + $(call link.so,$(libutil_FULL_NAME),0) else $(top_builddir)lib/libutil.so: $(libutil_OUT)/libutil.oS | $(libc.depend) $(call linkm.so,$(libutil_FULL_NAME),$(ABI_VERSION)) + # link for backward compatibility + $(call linkm.so,$(libutil_FULL_NAME),0) endif $(libutil_OUT)/libutil_so.a: $(libutil-so-y) |