summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 16:25:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-27 16:25:07 +0000
commitd200635a4c624c687b3387f937425d12239eb5c3 (patch)
treebb948146af44bfc9be4ee7958455f756ff0cc3d7
parent3f090bb2fe66f9fd79c75344fa7f03a76ea67e00 (diff)
downloadskalibs-d200635a4c624c687b3387f937425d12239eb5c3.tar.xz
Put correct /library.so back into Makefile
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ab95d3c..e47b327 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,9 @@ 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)$(dynlibdir)/lib%.so.$(version_M)
+ exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/library.so/$(<F) $@
+
.PHONY: update global-links
endif