From cfebbd91082975c6d49b20f2e415dcb44fedd0e5 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 25 Aug 2004 11:57:21 +0000 Subject: [PATCH] Fix symlinking -- the old code worked, but worked for the wrong reason; the bit before "$(subdir)" has to specify the path from .in_place/ to the root. It just so happened that $(top_builddir) was the same for all directories at the same level in the hierarchy as .in_place/ (ie. one deep). (I haven't bothered changing it in all the tool Makefile.am files, because I'll do that when I factor out all their common bits into a single file, be it before or after 2.2.0 is released.) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2616 --- coregrind/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index ec0eaefd5d..8c889198a8 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -154,6 +154,6 @@ all-local: for i in $(val_PROGRAMS); do \ to=$(inplacedir)/$$(echo $$i | sed 's,libpthread.so,libpthread.so.0,'); \ rm -f $$$to; \ - ln -sf $(top_builddir)/$(subdir)/$$i $$to; \ + ln -sf ../$(subdir)/$$i $$to; \ done -- 2.47.2