about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-07-27 16:23:55 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-07-27 16:46:49 +0200
commita57cbbd85379874177d40d675f5b905e669d0a47 (patch)
treed7f09dcff1e337f5010ddae94814e7461fd4bf9e
parentf6f904745942540c7ea99c403b75b695ee560035 (diff)
downloadglibc-a57cbbd85379874177d40d675f5b905e669d0a47.tar.gz
glibc-a57cbbd85379874177d40d675f5b905e669d0a47.tar.xz
glibc-a57cbbd85379874177d40d675f5b905e669d0a47.zip
malloc: Link threading tests with $(shared-thread-library)
Fixes build failures on Hurd.
-rw-r--r--malloc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 98d507a6eb..ccc96ef6b2 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -419,7 +419,9 @@ $(objpfx)tst-mallocstate: $(objpfx)libc_malloc_debug.so
 $(objpfx)tst-mallocstate-malloc-check: $(objpfx)libc_malloc_debug.so
 
 $(objpfx)tst-aligned-alloc-random.out: $(objpfx)tst-aligned_alloc-lib.so
+$(objpfx)tst-aligned-alloc-random-thread: $(shared-thread-library)
 $(objpfx)tst-aligned-alloc-random-thread.out: $(objpfx)tst-aligned_alloc-lib.so
+$(objpfx)tst-aligned-alloc-random-thread-cross: $(shared-thread-library)
 $(objpfx)tst-aligned-alloc-random-thread-cross.out: $(objpfx)tst-aligned_alloc-lib.so
 $(objpfx)tst-malloc-random.out: $(objpfx)tst-aligned_alloc-lib.so