diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:15 +0000 |
commit | a314a25a9b8de3cfd71202f9829b3c3f38b5cc40 (patch) | |
tree | a6dca5eaf3956ac22930fe0d8cc75b90f1440329 | |
parent | b4cebf3a74a956fca0e4b456b68585fcdaf7f65f (diff) | |
download | nsss-a314a25a9b8de3cfd71202f9829b3c3f38b5cc40.tar.gz nsss-a314a25a9b8de3cfd71202f9829b3c3f38b5cc40.tar.xz nsss-a314a25a9b8de3cfd71202f9829b3c3f38b5cc40.zip |
Fix shared libs installation
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 0a21bd7..ce18023 100644 --- a/Makefile +++ b/Makefile @@ -117,10 +117,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 |