path: root/libc/
diff options
authorAlexey Brodkin <>2016-06-22 07:38:20 +0300
committerWaldemar Brodkorb <>2016-06-23 20:48:25 +0200
commite58bacb7ec462912e843fc616288995db88b7275 (patch)
treecb7c0a506cdf02f1352594a55f2a75e1b5c4dbd2 /libc/
parent2eefe0ab83a21e2fa5575e6a1b8b999457984cc7 (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 <> Cc: Waldemar Brodkorb <> Cc: Vineet Gupta <> Cc: Anton Kolesov <>
Diffstat (limited to 'libc/')
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/ b/libc/
index 2abc77dce..8ed8a751a 100644
--- a/libc/
+++ b/libc/
@@ -60,9 +60,13 @@ OUTPUT_FORMAT = $(CC) $(CFLAGS) -Wl,--verbose 2>&1 | $(SED) -n '/OUTPUT_FORMAT/,
ifeq ($(DOMULTI),n)
$(libc.depend): $(libc_OUT)/libc_so.a $(
+ # link for backward compatibility
+ $(call,$(libc_FULL_NAME),0)
$(libc.depend): $(libc_OUT)/libc.oS $(libc-nomulti-y:.o=.oS) | $(
+ # link for backward compatibility
+ $(call,$(libc_FULL_NAME),0)
$(Q)$(RM) $@
$(Q)cat $(top_srcdir)extra/scripts/ > $@.tmp