From: Adam Yi Date: Wed, 8 Mar 2023 08:11:47 +0000 (-0500) Subject: hurd: fix build of tst-system.c X-Git-Tag: upstream/2.39~1041 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d03094649d39949a30513bf3ffb03a28fecbccd8;p=platform%2Fupstream%2Fglibc.git hurd: fix build of tst-system.c We made tst-system.c depend on pthread, but that requires linking with $(shared-thread-library). It does not fail under Linux because the variable expands to nothing under Linux, but it fails for Hurd. I tested verified via cross-compiling that "make check" now works for Hurd. Signed-off-by: Adam Yi Reviewed-by: Adhemerval Zanella --- diff --git a/stdlib/Makefile b/stdlib/Makefile index cd32f53..5e38f0e 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -281,6 +281,7 @@ LDLIBS-test-on_exit-race = $(shared-thread-library) LDLIBS-tst-canon-bz26341 = $(shared-thread-library) LDLIBS-tst-arc4random-fork = $(shared-thread-library) LDLIBS-tst-arc4random-thread = $(shared-thread-library) +LDLIBS-tst-system = $(shared-thread-library) LDLIBS-test-dlclose-exit-race = $(shared-thread-library) LDFLAGS-test-dlclose-exit-race = $(LDFLAGS-rdynamic)