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.
This commit is contained in:
Joseph Myers 2024-10-31 17:43:52 +00:00
parent 383e4f53cb
commit 9c0903fb73

View File

@ -127,6 +127,8 @@ $(objpfx)tst-strftime2.out: $(gen-locales)
$(objpfx)tst-strftime3.out: $(gen-locales) $(objpfx)tst-strftime3.out: $(gen-locales)
endif endif
$(objpfx)tst-clock_gettime: $(librt)
$(objpfx)tst-clock_gettime-time64: $(librt)
$(objpfx)tst-clock_nanosleep: $(librt) $(objpfx)tst-clock_nanosleep: $(librt)
$(objpfx)tst-clock_nanosleep-time64: $(librt) $(objpfx)tst-clock_nanosleep-time64: $(librt)