about summary refs log tree commit diff
path: root/dlfcn
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 46ba661f54..f359f56d82 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -47,7 +47,7 @@ ifeq (yesyesyes,$(build-static)$(build-shared)$(elf))
 tests += tststatic
 tests-static += tststatic
 modules-names += modstatic
-tststatic-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx)
+tststatic-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
 endif
 
 extra-objs += $(modules-names:=.os) eval.os