]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Link the tls test against tls2.so as it references symbols in it
authorTom Hughes <tom@compton.nu>
Thu, 29 Apr 2010 09:22:25 +0000 (09:22 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 29 Apr 2010 09:22:25 +0000 (09:22 +0000)
and Fedora 13 no longer allows so's to be required indirectly (via
tls.so in this case).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11114

none/tests/Makefile.am

index 730d3a29bdd81fa1a3f7e4aa802704ca0c1cdef8..ff28e2a1fa777fbe16490d7533dd5dfd887fc19e 100644 (file)
@@ -237,13 +237,13 @@ thread_exits_LDADD        = -lpthread
 threaded_fork_LDADD    = -lpthread
 threadederrno_LDADD    = -lpthread
 tls_SOURCES            = tls.c tls2.c
-tls_DEPENDENCIES       = tls.so
+tls_DEPENDENCIES       = tls.so tls2.so
 if VGCONF_OS_IS_AIX5
  tls_LDFLAGS           = 
 else
  tls_LDFLAGS           = -Wl,-rpath,$(top_builddir)/none/tests
 endif
-tls_LDADD              = tls.so -lpthread
+tls_LDADD              = tls.so tls2.so -lpthread
 tls_so_SOURCES         = tls_so.c
 tls_so_DEPENDENCIES    = tls2.so
 if VGCONF_OS_IS_AIX5