mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 19:23:34 +08:00
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 d03094649d
)
This commit is contained in:
parent
90304900c3
commit
f4de99ea83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user