From 23e96d89b6ab0de3e857a865439b6e643617d0cf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Aug 2015 20:40:42 +0200 Subject: ldso: install backward compatibility symlink by default Simplify the switch from uClibc to uClibc-ng suggested by Alexey Brodkin . Gcc always uses .0 ld.so link, so install it by default. --- ldso/ldso/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in index 424131ccb..ffbb5ccd8 100644 --- a/ldso/ldso/Makefile.in +++ b/ldso/ldso/Makefile.in @@ -74,6 +74,8 @@ $(ldso): $(ldso:.$(ABI_VERSION)=) $(ldso:.$(ABI_VERSION)=): | $(top_builddir)lib $(ldso:.$(ABI_VERSION)=): $($(UCLIBC_LDSO_NAME)_OUT)/$(UCLIBC_LDSO_NAME)_so.a $(call link.so,$(ldso_FULL_NAME),$(ABI_VERSION)) + # link for backward compatibility + (cd $(top_builddir)lib; ln -sf $(UCLIBC_LDSO_NAME).so.$(ABI_VERSION) $(UCLIBC_LDSO_NAME).so.0 ) $($(UCLIBC_LDSO_NAME)_OUT)/$(UCLIBC_LDSO_NAME)_so.a: $(ldso-y) $(Q)$(RM) $@ -- cgit v1.2.3