skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 6d18d9f3bfa3beb8a03be1789de63c70ffd29b13
parent cd44ac2b6b350bf66bc575053c7a7e7622c91e9c
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Thu, 11 Dec 2014 17:42:56 +0000

Fix make global-links with nonempty sproot

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -84,7 +84,7 @@ update: global-links: $(DESTDIR)$(exthome) $(SHARED_LIBS:lib%.so=$(DESTDIR)$(sproot)/library.so/lib%.so) $(DESTDIR)$(sproot)/library.so/lib%.so: $(DESTDIR)$(home)/library.so/lib%.so - exec $(INSTALL) -D -l ..$(exthome)/library.so/$(<F) $@ + exec $(INSTALL) -D -l ..$(subst $(sproot),,$(exthome))/library.so/$(<F) $@ .PHONY: update global-links