diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-11 17:42:56 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-11 17:42:56 +0000 |
commit | 6d18d9f3bfa3beb8a03be1789de63c70ffd29b13 (patch) | |
tree | 60bed58e7de507d466915d0a88f386d2968b9010 | |
parent | cd44ac2b6b350bf66bc575053c7a7e7622c91e9c (diff) | |
download | skalibs-6d18d9f3bfa3beb8a03be1789de63c70ffd29b13.tar.xz |
Fix make global-links with nonempty sproot
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |