Skip to content

meson: Look for librt if clock_gettime isn't found without it

Martin Storsjö requested to merge mstorsjo/dav1d:librt into master

On older versions of glibc, clock_gettime isn't available in the main libc, but part of a separate librt.

Only look for librt if clock_gettime isn't available otherwise, to avoid linking needlessly against librt.

Merge request reports