diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:02:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-27 15:02:11 +0000 |
commit | 3f090bb2fe66f9fd79c75344fa7f03a76ea67e00 (patch) | |
tree | 157e20204f7fbc245cde92ef9ce92bfac615ddad /Makefile | |
parent | d6169d90477a1b467545408f4ea9570ed4f36bf9 (diff) | |
download | skalibs-3f090bb2fe66f9fd79c75344fa7f03a76ea67e00.tar.gz skalibs-3f090bb2fe66f9fd79c75344fa7f03a76ea67e00.tar.xz skalibs-3f090bb2fe66f9fd79c75344fa7f03a76ea67e00.zip |
Fix shared libs installation; prepare for 2.9.2.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile index d88e63d..ab95d3c 100644 --- a/Makefile +++ b/Makefile @@ -92,9 +92,6 @@ update: $(DESTDIR)$(exthome) global-links: $(DESTDIR)$(exthome) $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M)) -$(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M): $(DESTDIR)$(home)/library.so/lib%.so.$(version_M) - exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/library.so/$(<F) $@ - .PHONY: update global-links endif @@ -105,10 +102,9 @@ $(DESTDIR)$(datadir)/%: src/etc/% $(DESTDIR)$(sysdepdir)/%: $(sysdeps)/% exec $(INSTALL) -D -m 644 $< $@ -$(DESTDIR)$(dynlibdir)/%.so: %.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)$(libdir)/lib%.a: lib%.a.xyzzy |