summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 16:35:12 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 16:35:12 +0000
commit6a1207350d876659296c6aab7cd1063bbb3d0ed1 (patch)
tree8ce7fc5956359fe2857af1d64dcaa3ca492bfc42 /Makefile
parent90640f6c94285b035d57faf786726f8084962c1b (diff)
downloads6-linux-init-6a1207350d876659296c6aab7cd1063bbb3d0ed1.tar.xz
Properly install links into /library.so
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3b5887b..ee0fcf0 100644
--- a/Makefile
+++ b/Makefile
@@ -100,6 +100,9 @@ global-links: $(DESTDIR)$(exthome) $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(sproo
$(DESTDIR)$(sproot)/command/%: $(DESTDIR)$(home)/command/%
exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/command/$(<F) $@
+$(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M): $(DESTDIR)$(dynlibdir)/lib%.so.$(version_M)
+ exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/library.so/$(<F) $@
+
.PHONY: update global-links
endif