meson: Add threads dependencies to glsl_compiler executable
authorDylan Baker <dylan@pnwbakers.com>
Fri, 27 Oct 2017 18:19:46 +0000 (11:19 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 8 Nov 2017 19:36:02 +0000 (11:36 -0800)
Fixes compiling the optional standalone glsl compiler.

Reported-by: DrNick (on irc)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/glsl/meson.build

index 76fcafb9910024d1dd22bb240c867312670b403c..aa0e7153f42fe9c09236e3a2789bce873c717fd6 100644 (file)
@@ -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,