diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:26 +0000 |
commit | c83c94fe3118223acad13b82258bf68848990994 (patch) | |
tree | 9d9b0fd3dc58688815c31b96722bceac29c8692b /Makefile | |
parent | 67fe7156d9e5fb07d87742e148918329c362ae78 (diff) | |
download | s6-c83c94fe3118223acad13b82258bf68848990994.tar.gz s6-c83c94fe3118223acad13b82258bf68848990994.tar.xz s6-c83c94fe3118223acad13b82258bf68848990994.zip |
Fix shared libs installation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
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 |