about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:08:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:08:39 +0000
commit32526b56c8f161f810b4abbf215217686fcbf9fd (patch)
tree379f81c9094e04782de9f77d9b4d77e8719ef352
parentc6e3c577edeb9d1758fe2994dfab8b389926ee10 (diff)
downloads6-frontend-32526b56c8f161f810b4abbf215217686fcbf9fd.tar.gz
s6-frontend-32526b56c8f161f810b4abbf215217686fcbf9fd.tar.xz
s6-frontend-32526b56c8f161f810b4abbf215217686fcbf9fd.zip
Fix shared libs installation
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 610dbb6..c514a49 100644
--- a/Makefile
+++ b/Makefile
@@ -112,10 +112,9 @@ endif
 $(DESTDIR)$(datadir)/%: src/etc/%
 	exec $(INSTALL) -D -m 644 $< $@
 
-$(DESTDIR)$(dynlibdir)/lib%.so: lib%.so.xyzzy
+$(DESTDIR)$(dynlibdir)/lib%.so $(DESTDIR)$(dynlibdir)/lib%.so.$(version_M): lib%.so.xyzzy
 	$(INSTALL) -D -m 755 $< $@.$(version) && \
-	$(INSTALL) -l $(@F).$(version) $@.$(version_m) && \
-	$(INSTALL) -l $(@F).$(version_m) $@.$(version_M) && \
+	$(INSTALL) -l $(@F).$(version) $@.$(version_M) && \
 	exec $(INSTALL) -l $(@F).$(version_M) $@
 
 $(DESTDIR)$(libexecdir)/% $(DESTDIR)$(bindir)/%: % package/modes