about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 5236165e2a..a791ffdbc0 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -77,7 +77,9 @@ others		+= ldconfig
 install-rootsbin += ldconfig
 endif
 
+ifeq (yes,$(build-shared))
 tests = loadtest restest1 preloadtest loadfail multiload
+endif
 modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
 		testobj1_1 failobj
 extra-objs += $(modules-names:=.os)