diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:09:13 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:09:13 +0000 |
commit | 7843305def204faad9777961f2eecdc03ad742a1 (patch) | |
tree | eaffd72cfc9410b17c0f51085343a4a5b444e746 /Makefile | |
parent | 3a39fe538941e678f5321e3639bcc95ddc8e65b2 (diff) | |
download | utmps-7843305def204faad9777961f2eecdc03ad742a1.tar.xz |
Fix shared libs installation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |