about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:08:21 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 15:08:21 +0000
commit832312f7dc8cfe74d9c34a40720495a9584ef523 (patch)
treeb97f5ad30f1f7f24b43867caa2bff11e8694af4b
parent1b4cc3aaed959fdf8e873c2aa59f9d034da54225 (diff)
downloadpamela-832312f7dc8cfe74d9c34a40720495a9584ef523.tar.gz
pamela-832312f7dc8cfe74d9c34a40720495a9584ef523.tar.xz
pamela-832312f7dc8cfe74d9c34a40720495a9584ef523.zip
Fix shared libs installation
-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