| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/Makefile |
| 2 | +++ b/Makefile | ||||
| 3 | @@ -218,6 +218,7 @@ $(DESTDIR)$(includedir)/%: $(srcdir)/inc | ||||
| 4 | |||||
| 5 | $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so | ||||
| 6 | $(INSTALL) -D -l libc.so $@ || true | ||||
| 7 | + $(if $(filter loongarch64,$(ARCH)$(SUBARCH)),$(INSTALL) -D -l libc.so $(subst $(ARCH)$(SUBARCH).so.1,loongarch-lp64d.so.1,$@) || true) | ||||
| 8 | |||||
| 9 | install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),) | ||||
| 10 | |||||