Fix elf/loadfail test build dependencies

There was no direct or indirect make dependency on testobj3.so so the
test could fail with

/B/elf/loadfail: failed to load shared object: testobj3.so: cannot open
 shared object file: No such file or directory

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Szabolcs Nagy 2022-01-28 10:51:49 +00:00
parent af121ae3e7
commit 1d1ce7d637

View File

@ -1468,7 +1468,9 @@ preloadtest-ENV = \
LDFLAGS-loadfail = -rdynamic
$(objpfx)loadfail.out: $(objpfx)failobj.so
$(objpfx)loadfail.out: $(objpfx)failobj.so $(objpfx)testobj1.so \
$(objpfx)testobj2.so $(objpfx)testobj3.so \
$(objpfx)testobj4.so $(objpfx)testobj5.so
LDFLAGS-multiload = -rdynamic
CFLAGS-multiload.c += -DOBJDIR=\"$(elf-objpfx)\"