about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-08 13:39:19 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-08 13:39:19 +0530
commit5ceb1630bdb2302f927fabb812252a6d88168918 (patch)
treea036e8ddb33b1beac9b7fc9518cffd681e3513f1 /elf/Makefile
parentfc859c304898a5ec72e0ba5269ed136ed0ea10e1 (diff)
downloadglibc-5ceb1630bdb2302f927fabb812252a6d88168918.tar.gz
glibc-5ceb1630bdb2302f927fabb812252a6d88168918.tar.xz
glibc-5ceb1630bdb2302f927fabb812252a6d88168918.zip
elf/tests: Make thrlock and noload depend on libm
Both tests try to dlopen libm.so at runtime, so make them depend on it
so that they're executed if libm.so has been updated.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index b1e01d9516..4b320e8b3a 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1281,6 +1281,8 @@ tst-leaks1-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1.mtrace
 tst-leaks1-static-ENV = MALLOC_TRACE=$(objpfx)tst-leaks1-static.mtrace
 
 $(objpfx)tst-thrlock: $(shared-thread-library)
+$(objpfx)tst-thrlock.out: $(libm)
+$(objpfx)tst-noload.out: $(libm)
 
 tst-tst-dlopen-tlsmodid-no-pie = yes
 $(objpfx)tst-dlopen-tlsmodid: $(shared-thread-library)