aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/rt/Makefile b/rt/Makefile
index 5ac4dd4f63..f14aa3b585 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -38,9 +38,10 @@ librt-routines = $(aio-routines) \
$(clock-routines) $(timer-routines) \
$(shm-routines)
-tests := tst-shm tst-clock tst-timer \
- tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \
- tst-aio7
+tests := tst-shm tst-clock tst-timer
+ifeq ($(have-thread-library),yes)
+tests += tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
+endif
extra-libs := librt
extra-libs-others := $(extra-libs)