hurd: Fix tst-stack2 test build on Hurd

It requires $(shared-thread-library).  Fixes 0c34259423.

Checked on a i686-gnu build.
This commit is contained in:
Adhemerval Zanella 2025-05-09 10:19:37 -03:00
parent b4495bd405
commit f66cb3c9eb
1 changed files with 1 additions and 0 deletions

View 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