meson: use dep_m in libgallium
authorErik Faye-Lund <kusmabite@gmail.com>
Sat, 28 Oct 2017 12:36:04 +0000 (14:36 +0200)
committerErik Faye-Lund <kusmabite@gmail.com>
Tue, 31 Oct 2017 07:10:37 +0000 (08:10 +0100)
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>
src/gallium/auxiliary/meson.build

index bb7c050..eed7064 100644 (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,
 )