about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index e7c16f44df..8a8bb3a239 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -138,6 +138,11 @@ tests += tst-array1 tst-array2 tst-array3 tst-array4
 endif
 ifeq (yes,$(build-static))
 tests-static = tst-tls1-static tst-tls2-static
+ifeq (yesyesyes,$(build-static)$(build-shared)$(elf))
+tests-static += tst-tls9-static
+tst-tls9-static-ENV = \
+       LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)dlfcn
+endif
 ifeq (yes,$(have-initfini-array))
 tests-static += tst-array1-static
 endif