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>
This commit is contained in:
Arsen Arsenović 2023-03-07 11:29:35 +01:00 committed by Florian Weimer
parent 6c7388d0b9
commit f7e751affb

View File

@ -1631,6 +1631,7 @@ $(objpfx)multiload.out: $(objpfx)testobj1.so
LDFLAGS-origtest = -rdynamic LDFLAGS-origtest = -rdynamic
$(objpfx)origtest.out: $(objpfx)testobj1.so $(objpfx)origtest.out: $(objpfx)testobj1.so
$(objpfx)resolvfail.out: $(objpfx)testobj1.so
ifeq ($(have-thread-library),yes) ifeq ($(have-thread-library),yes)
$(objpfx)resolvfail: $(shared-thread-library) $(objpfx)resolvfail: $(shared-thread-library)
endif endif