diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:08:44 +0000 |
commit | 6adc205d15ea0f697a9972caeb060637a878bba2 (patch) | |
tree | 95d0226e01ad452d460aa2dd02d4ecaace372239 /Makefile | |
parent | 203b2b6f21764f4535bed9779ea7e2cbeb6e43cb (diff) | |
download | s6-linux-init-6adc205d15ea0f697a9972caeb060637a878bba2.tar.xz |
Fix shared libs installation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -100,17 +100,13 @@ global-links: $(DESTDIR)$(exthome) $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(sproo $(DESTDIR)$(sproot)/command/%: $(DESTDIR)$(home)/command/% exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/command/$(<F) $@ -$(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M): $(DESTDIR)$(dynlibdir)/lib%.so.$(version_M) - exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/library.so/$(<F) $@ - .PHONY: update global-links endif -$(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 |