[Mesa-dev] [PATCH 27/48] meson: don't look for rt on windows
Dylan Baker
dylan at pnwbakers.com
Mon Jun 11 22:55:54 UTC 2018
---
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
More information about the mesa-dev
mailing list