projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f5c32
)
meson: don't look for rt on windows
author
Dylan Baker
<dylan@pnwbakers.com>
Thu, 17 May 2018 20:32:12 +0000
(13:32 -0700)
committer
Dylan Baker
<dylan@pnwbakers.com>
Thu, 10 Oct 2019 23:33:04 +0000
(16:33 -0700)
v6: - Minor refactor
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 824765ec082db96493a8e772ea6d33537ea00155..10b9c9e9b191e32cd5c584612311f012d2d4af8e 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-1238,7
+1238,7
@@
elif with_dri_i965 and with_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' or
cc.has_function('clock_gettime')
dep_clock = null_dep
else
dep_clock = cc.find_library('rt')