From: Julian Seward Date: Sat, 17 May 2003 11:53:46 +0000 (+0000) Subject: Back out symlinking of libpthread.so in coregrind; it causes build X-Git-Tag: svn/VALGRIND_2_0_0~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9f41dceeee8a36f7858d71a1c1960f57b55ae3e;p=thirdparty%2Fvalgrind.git Back out symlinking of libpthread.so in coregrind; it causes build problems on many modern distros. Not sure how to resolve this properly. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1637 --- diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index e3ff40c89d..3f2a313398 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -82,7 +82,9 @@ noinst_HEADERS = \ vg_constants.h \ vg_unsafe.h -MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) libpthread.so.0 +#### JRS 17 May 03, see comment below +####MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) libpthread.so.0 +MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) vg_memory.o: vg_memory.c $(MANUAL_DEPS) $(COMPILE) -O2 @PREFERRED_STACK_BOUNDARY@ -c $< @@ -90,5 +92,8 @@ vg_memory.o: vg_memory.c $(MANUAL_DEPS) vg_intercept.o vg_libpthread.o vg_replace_malloc.o: CFLAGS += -fno-omit-frame-pointer ## Must have a libpthread.so.0 symlink -libpthread.so.0: - ln -s libpthread.so libpthread.so.0 +#### JRS 17 May 03, this messes up the build system on many +#### modern distros, since most build tools (make etc) are +#### linked with libpthread. +####libpthread.so.0: +#### ln -s libpthread.so libpthread.so.0