[Mesa-dev] [PATCH] meson: Add threads dependencies to glsl_compiler executable

Dylan Baker dylan at pnwbakers.com
Wed Nov 8 00:13:44 UTC 2017


Quoting Dylan Baker (2017-10-27 11:22:09)
> 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
> 

ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171107/04e78a24/attachment.sig>


More information about the mesa-dev mailing list