Commit 15c2d359 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller Committed by Olivier Crête

meson: don't error out if clock_gettime() was not found

It's not a requirement, there's a fallback.
parent 945da049
......@@ -60,8 +60,6 @@ if not cc.has_function('clock_gettime')
librt = cc.find_library('rt', required: false)
if cc.has_function('clock_gettime', dependencies: librt)
syslibs += [librt]
error('Could not find right library for clock_gettime()')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment