From 9c6de6100c10aaf35461887e31588ab4cd9035f5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 27 Jan 2020 15:08:53 +0000 Subject: Fix shared libs installation --- Makefile | 5 ++--- 1 file 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 -- cgit v1.2.3