From: Joseph Myers Date: Thu, 31 Oct 2024 17:43:52 +0000 (+0000) Subject: Link tst-clock_gettime with $(librt) X-Git-Tag: glibc-2.41~554 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c0903fb7388f645d23b26160ed3669a116189fe;p=thirdparty%2Fglibc.git Link tst-clock_gettime with $(librt) This is needed to avoid link failures for the timer_* functions on Hurd. Tested with build-many-glibcs.py for i686-gnu. --- diff --git a/time/Makefile b/time/Makefile index de22692683..4bfb208110 100644 --- a/time/Makefile +++ b/time/Makefile @@ -127,6 +127,8 @@ $(objpfx)tst-strftime2.out: $(gen-locales) $(objpfx)tst-strftime3.out: $(gen-locales) endif +$(objpfx)tst-clock_gettime: $(librt) +$(objpfx)tst-clock_gettime-time64: $(librt) $(objpfx)tst-clock_nanosleep: $(librt) $(objpfx)tst-clock_nanosleep-time64: $(librt)