]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix tst-stack2 test build on Hurd
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 9 May 2025 13:19:37 +0000 (10:19 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 9 May 2025 13:19:37 +0000 (10:19 -0300)
It requires $(shared-thread-library).  Fixes 0c342594237.

Checked on a i686-gnu build.

sysdeps/pthread/Makefile

index 5acf505a9034ad6a4d8239b3a8576ffd55e5822a..de146dddebda0a3f735ce4058864687aba0b2c52 100644 (file)
@@ -544,6 +544,7 @@ $(objpfx)tst-create1: $(shared-thread-library)
 $(objpfx)tst-create1.out: $(objpfx)tst-create1mod.so
 
 $(objpfx)tst-stack2.out: $(objpfx)tst-stack2-mod.so
+$(objpfx)tst-stack2-mod.so: $(shared-thread-library)
 LDFLAGS-tst-stack2-mod.so = -Wl,-z,execstack
 ifeq ($(have-no-error-execstack),yes)
 LDFLAGS-tst-stack2-mod.so += -Wl,--no-error-execstack