aboutsummaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 5c8676f26c..6cddc9fff7 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -131,7 +131,7 @@ tests = tst-attr1 tst-attr2 \
tst-mutex7 \
tst-spin1 tst-spin2 tst-spin3 \
tst-cond1 tst-cond2 tst-cond3 tst-cond4 tst-cond5 tst-cond6 tst-cond7 \
- tst-cond8 tst-cond9 tst-cond10 \
+ tst-cond8 tst-cond9 tst-cond10 tst-cond11 \
tst-rwlock1 tst-rwlock2 tst-rwlock3 tst-rwlock4 tst-rwlock5 \
tst-rwlock6 tst-rwlock7 tst-rwlock8 tst-rwlock9 tst-rwlock10 \
tst-rwlock11 \
@@ -265,6 +265,12 @@ $(objpfx)tst-tls3mod.so: $(shared-thread-library)
$(objpfx)tst-dlsym1: $(libdl) $(shared-thread-library)
+ifeq (yes,$(build-shared))
+$(objpfx)tst-cond11: $(common-objpfx)rt/librt.so
+else
+$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
+endif
+
extra-B-pthread.so = -B$(common-objpfx)nptl/
$(objpfx)libpthread.so: $(objpfx)crti.o
$(objpfx)libpthread.so: +preinit += $(objpfx)crti.o