From: Siddhesh Poyarekar Date: Thu, 8 Jul 2021 08:09:19 +0000 (+0530) Subject: elf/tests: Make thrlock and noload depend on libm X-Git-Tag: glibc-2.34~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ceb1630bdb2302f927fabb812252a6d88168918;p=thirdparty%2Fglibc.git 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 --- diff --git a/elf/Makefile b/elf/Makefile index b1e01d95169..4b320e8b3a8 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)