From a57cbbd85379874177d40d675f5b905e669d0a47 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 27 Jul 2024 16:23:55 +0200 Subject: [PATCH] malloc: Link threading tests with $(shared-thread-library) Fixes build failures on Hurd. --- malloc/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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