about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-03-07 11:29:35 +0100
committerFlorian Weimer <fweimer@redhat.com>2023-03-10 17:53:18 +0100
commitf7e751affbedf67e16ef97e9da430bd67d793891 (patch)
tree586608de2f64f1bfdfb51930ead9cc8a4ec37cf7 /elf
parent6c7388d0b95ef9ae39fbe6f733e2c5049769c4f9 (diff)
downloadglibc-f7e751affbedf67e16ef97e9da430bd67d793891.tar.gz
glibc-f7e751affbedf67e16ef97e9da430bd67d793891.tar.xz
glibc-f7e751affbedf67e16ef97e9da430bd67d793891.zip
elf: Add missing dependency between resolvfail and testobj1.so
It was possible to run this test individually and have it fail because
it can't find testobj1.so.  This patch adds that dependency, to prevent
such issues.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index e5df78fd04..4d0e04b2a2 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1631,6 +1631,7 @@ $(objpfx)multiload.out: $(objpfx)testobj1.so
 LDFLAGS-origtest = -rdynamic
 $(objpfx)origtest.out: $(objpfx)testobj1.so
 
+$(objpfx)resolvfail.out: $(objpfx)testobj1.so
 ifeq ($(have-thread-library),yes)
 $(objpfx)resolvfail: $(shared-thread-library)
 endif