summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-03-14 22:22:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-03-14 22:22:53 +0000
commitf43b20d63825b48c99d2b113d4cdce38a3e57460 (patch)
tree320f269e698b55fdc6cfda6d5f70f8635338eab0
parent6cd13aba0d95ccc8ebd244cb68389694acf33b1d (diff)
downloadskalibs-f43b20d63825b48c99d2b113d4cdce38a3e57460.tar.xz
Fix update/global-links dependencies
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7fdfffd..69696cd 100644
--- a/Makefile
+++ b/Makefile
@@ -84,9 +84,11 @@ install-include: $(ALL_INCLUDES:src/include/$(package)/%.h=$(DESTDIR)$(includedi
ifneq ($(exthome),)
-update:
+$(DESTDIR)$(exthome): $(home)
exec $(INSTALL) -l $(notdir $(home)) $(DESTDIR)$(exthome)
+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)