| --- a/Makefile |
| +++ b/Makefile |
| @@ -216,11 +216,11 @@ $(DESTDIR)$(includedir)/bits/%: obj/incl |
| $(DESTDIR)$(includedir)/%: $(srcdir)/include/% |
| $(INSTALL) -D -m 644 $< $@ |
| |
| -$(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so |
| +$(DESTDIR)$(LDSO_PATHNAME) $(DESTDIR)$(syslibdir)/libc.so.0 $(DESTDIR)$(syslibdir)/libc.so.1: $(DESTDIR)$(libdir)/libc.so |
| $(INSTALL) -D -l libc.so $@ || true |
| $(if $(filter loongarch64,$(ARCH)$(SUBARCH)),$(INSTALL) -D -l libc.so $(subst $(ARCH)$(SUBARCH).so.1,loongarch-lp64d.so.1,$@) || true) |
| |
| -install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) |
| +install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME) $(DESTDIR)$(syslibdir)/libc.so.0 $(DESTDIR)$(syslibdir)/libc.so.1,) |
| |
| install-headers: $(ALL_INCLUDES:include/%=$(DESTDIR)$(includedir)/%) |
| |