hurd: fix build of tst-system.c
commitd03094649d39949a30513bf3ffb03a28fecbccd8
authorAdam Yi <ayi@janestreet.com>
Wed, 8 Mar 2023 08:11:47 +0000 (8 03:11 -0500)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 8 Mar 2023 11:49:54 +0000 (8 08:49 -0300)
tree28bd2c3f73573f8a0e5a40e3b533cec4029874c5
parent4c721f24fc190d1dc935eb0bab283de7cf13182e
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>
stdlib/Makefile