summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-08-15 00:23:01 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-08-15 00:23:01 +0200
commitf52fb21a7af0aa4e983b3e6c2ddd1b6a526b5169 (patch)
tree0c3059c145ded78f711f4af6b64642ca1f49f8a4 /ldso
parent25d02e00d0b9c3c981e18babd9d6dbc19f0a2787 (diff)
ldso: install backward compatibility symlink by default
Simplify the switch from uClibc to uClibc-ng suggested by Alexey Brodkin <Alexey.Brodkin@synopsys.com>. Gcc always uses .0 ld.so link, so install it by default.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index 424131ccb..21e0dbc27 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
+ $(call link.so,$(ldso_FULL_NAME),0)
$($(UCLIBC_LDSO_NAME)_OUT)/$(UCLIBC_LDSO_NAME)_so.a: $(ldso-y)
$(Q)$(RM) $@