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 <kusmabite@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Erik Faye-Lund 2017-10-28 14:36:04 +02:00
parent e92405c55a
commit cf41c19d9f
1 changed files with 1 additions and 1 deletions

View File

@ -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,
)