aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-01-28 10:51:49 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-01-28 18:24:42 +0000
commit1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b (patch)
treecf3c6e39a4b2e3d0db83acd65ec005ea883c35f7
parentaf121ae3e7cd12628c91ecfc46a9d65313a6e972 (diff)
downloadglibc-1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b.zip
glibc-1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b.tar.gz
glibc-1d1ce7d637fdeb911f82d10f6a23287b5dca2a3b.tar.bz2
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>
-rw-r--r--elf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 718e826..1fa1a51 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -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)\"