about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2021-06-09 13:19:51 +0200
committerStefan Liebler <stli@linux.ibm.com>2021-06-09 13:38:41 +0200
commit51a3df5e358f3229b9f4e9ad1721fee591d4d29e (patch)
tree8f7e8bea002fdf9a654dad09b2ce65d34145c6b2 /elf
parent5a5b48136567de019f35a2996513bd7bbeb8175e (diff)
downloadglibc-51a3df5e358f3229b9f4e9ad1721fee591d4d29e.tar.gz
glibc-51a3df5e358f3229b9f4e9ad1721fee591d4d29e.tar.xz
glibc-51a3df5e358f3229b9f4e9ad1721fee591d4d29e.zip
Fix elf/tst-tls9-static after libdl cleanups.
The testcase elf/tst-tls9-static sometimes fails with:
cannot open 'tst-tlsmod5.so': tst-tlsmod5.so: cannot open shared object file: No such file or directory
cannot open 'tst-tlsmod6.so': tst-tlsmod6.so: cannot open shared object file: No such file or directory

After recent commit
6f1c701026287f6928d3bdd1aea7359308635abe
"dlfcn: Cleanups after -ldl is no longer required"
the libdl variable is not set anymore and thus the
dependencies were missing.
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index e9788d3d4f..6dbb03bbb2 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1050,10 +1050,8 @@ unload7-ENV = MALLOC_PERTURB_=85
 
 $(objpfx)unload8.out: $(objpfx)unload8mod1.so $(objpfx)unload8mod1x.so
 
-ifdef libdl
 $(objpfx)tst-tls9-static: $(common-objpfx)dlfcn/libdl.a
 $(objpfx)tst-tls9-static.out: $(objpfx)tst-tlsmod5.so $(objpfx)tst-tlsmod6.so
-endif
 
 ifeq ($(have-z-execstack),yes)
 $(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so