aboutsummaryrefslogtreecommitdiff
path: root/rt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rt/Makefile')
-rw-r--r--rt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile
index bb07ad0f4e..038636c497 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -39,7 +39,7 @@ include ../Makeconfig
ifeq ($(have-thread-library),yes)
-tests := tst-aio tst-aio64 tst-clock
+tests := tst-aio tst-aio64 tst-clock tst-shm
extra-libs := librt
extra-libs-others := $(extra-libs)
@@ -57,8 +57,10 @@ ifeq (yes,$(build-shared))
$(objpfx)tst-aio: $(objpfx)librt.so $(shared-thread-library)
$(objpfx)tst-aio64: $(objpfx)librt.so $(shared-thread-library)
$(objpfx)tst-clock: $(objpfx)librt.so $(shared-thread-library)
+$(objpfx)tst-shm: $(objpfx)librt.so $(shared-thread-library)
else
$(objpfx)tst-aio: $(objpfx)librt.a $(static-thread-library)
$(objpfx)tst-aio64: $(objpfx)librt.a $(static-thread-library)
$(objpfx)tst-clock: $(objpfx)librt.a $(static-thread-library)
+$(objpfx)tst-shm: $(objpfx)librt.a $(static-thread-library)
endif