diff options
author | Adam Yi <ayi@janestreet.com> | 2023-03-08 03:11:47 -0500 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-03-08 08:49:54 -0300 |
commit | d03094649d39949a30513bf3ffb03a28fecbccd8 (patch) | |
tree | 28bd2c3f73573f8a0e5a40e3b533cec4029874c5 | |
parent | 4c721f24fc190d1dc935eb0bab283de7cf13182e (diff) | |
download | glibc-d03094649d39949a30513bf3ffb03a28fecbccd8.tar.gz glibc-d03094649d39949a30513bf3ffb03a28fecbccd8.tar.xz glibc-d03094649d39949a30513bf3ffb03a28fecbccd8.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>
-rw-r--r-- | stdlib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index cd32f53b56..5e38f0e6a2 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) |