summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:09:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:09:03 +0000
commit3d84b26b5fcdd960d652ee01b7f6b0bc47949baa (patch)
tree8a2c13881633c47b079b10c9387d4bcf843f6b14 /Makefile
parentefe2eb4bbf383864ff2bb83fb0d10d98ce8fd1da (diff)
downloads6-rc-3d84b26b5fcdd960d652ee01b7f6b0bc47949baa.tar.xz
Fix shared libs installation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 64195b5..94a820f 100644
--- a/Makefile
+++ b/Makefile
@@ -111,10 +111,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