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 e8d9ccb35d..46ba661f54 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)
+tststatic-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx)
 endif
 
 extra-objs += $(modules-names:=.os) eval.os