--- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 67577241953..42e2540146c 100644 --- a/meson.build +++ b/meson.build @@ -1053,7 +1053,9 @@ elif with_dri_i965 and get_option('shader-cache') endif # Determine whether or not the rt library is needed for time functions -if cc.has_function('clock_gettime') +if host_machine.system() == 'windows' + dep_clock = null_dep +elif cc.has_function('clock_gettime') dep_clock = null_dep else dep_clock = cc.find_library('rt') -- 2.17.1
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev