diff options
author | Adam Yi <ayi@janestreet.com> | 2023-03-08 03:11:47 -0500 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-05-02 19:20:08 +0200 |
commit | f4de99ea83794152296c5448c5cd00e3becb92bb (patch) | |
tree | 8736b5cbe06e1c816e6638c138ff35ddde23eb6f | |
parent | 90304900c358e5302f870150787078f0b359d05e (diff) | |
download | glibc-f4de99ea83794152296c5448c5cd00e3becb92bb.tar.gz glibc-f4de99ea83794152296c5448c5cd00e3becb92bb.tar.xz glibc-f4de99ea83794152296c5448c5cd00e3becb92bb.zip |
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 <ayi@janestreet.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> (cherry picked from commit d03094649d39949a30513bf3ffb03a28fecbccd8)
-rw-r--r-- | stdlib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index 005eede5d9..15361ce650 100644 --- a/stdlib/Makefile +++ b/stdlib/Makefile @@ -277,6 +277,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) |