[Mesa-dev] [PATCH] meson: use dep_m in libgallium

Eric Engestrom eric.engestrom at imgtec.com
Tue Oct 31 09:31:51 UTC 2017


On Monday, 2017-10-30 21:06:25 +0100, Erik Faye-Lund wrote:
> The u_format_other.c users sqrtf, which on some systems require
> a math-library. So let's make sure we link with it.
> 
> Signed-off-by: Erik Faye-Lund <kusmabite at gmail.com>

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

Do you have push rights?

> ---
> 
> I noticed this while debugging something else, thought I'd just send it
> upstream directly.
> 
>  src/gallium/auxiliary/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build
> index bb7c0506d8..eed7064792 100644
> --- a/src/gallium/auxiliary/meson.build
> +++ b/src/gallium/auxiliary/meson.build
> @@ -496,7 +496,7 @@ libgallium = static_library(
>    ],
>    c_args : [c_vis_args, c_msvc_compat_args],
>    cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
> -  dependencies : [dep_libdrm, dep_llvm, dep_unwind, dep_dl],
> +  dependencies : [dep_libdrm, dep_llvm, dep_unwind, dep_dl, dep_m],
>    build_by_default : false,
>  )
>  
> -- 
> 2.11.0
> 


More information about the mesa-dev mailing list