[Mesa-dev] [PATCH] meson: Add threads dependencies to glsl_compiler executable
Dylan Baker
dylan at pnwbakers.com
Fri Oct 27 18:22:09 UTC 2017
Fixes compiling the optional standalone glsl compiler.
Reported-by: DrNick (on irc)
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
This is not compiled by default, but can be built by:
meson build
ninja -C build src/compiler/glsl/glsl_compiler
src/compiler/glsl/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build
index 76fcafb9910..aa0e7153f42 100644
--- a/src/compiler/glsl/meson.build
+++ b/src/compiler/glsl/meson.build
@@ -223,7 +223,7 @@ glsl_compiler = executable(
'main.cpp',
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- dependencies : [dep_clock],
+ dependencies : [dep_clock, dep_thread],
include_directories : [inc_common],
link_with : [libglsl_standalone],
build_by_default : false,
--
2.14.2
More information about the mesa-dev
mailing list