diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-08-22 20:40:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-08-22 20:40:42 +0200 |
commit | 23e96d89b6ab0de3e857a865439b6e643617d0cf (patch) | |
tree | 400ba8f0728fe5ed1ef8a4db58a4b53535b4010f /ldso | |
parent | cb62dc41759f526e0ea8ed7c7ad8050a093ff827 (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.in | 2 |
1 files changed, 2 insertions, 0 deletions
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) $@ |