From: Erik Faye-Lund Date: Sat, 28 Oct 2017 12:36:04 +0000 (+0200) Subject: meson: use dep_m in libgallium X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf41c19d9fc6c12f5fc22d0b25b9d071f70a42ca;p=mesa.git meson: use dep_m in libgallium 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 Reviewed-by: Eric Anholt --- diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build index bb7c0506d84..eed70647927 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, )