|
From: Nicholas N. <nj...@ca...> - 2004-08-25 11:57:28
|
CVS commit by nethercote:
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.)
M +1 -1 Makefile.am 1.76
--- valgrind/coregrind/Makefile.am #1.75:1.76
@@ -155,5 +155,5 @@
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
|