]> sourceware.org Git - glibc.git/commitdiff
Link tst-clock_gettime with $(librt)
authorJoseph Myers <josmyers@redhat.com>
Thu, 31 Oct 2024 17:43:52 +0000 (17:43 +0000)
committerJoseph Myers <josmyers@redhat.com>
Thu, 31 Oct 2024 17:43:52 +0000 (17:43 +0000)
This is needed to avoid link failures for the timer_* functions on
Hurd.

Tested with build-many-glibcs.py for i686-gnu.

time/Makefile

index de22692683317a91490b6f3478129d3ddf1a929b..4bfb20811037390fd48d2ec8c4d1795f991f8884 100644 (file)
@@ -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)
 
This page took 0.039253 seconds and 5 git commands to generate.