From 6f317b5fd9215a50dd5d56f9fe4910f50de2ab95 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 18 Feb 2021 08:04:50 +0100 Subject: [PATCH] [Meson] Add libm. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 2c771f99..0fb12ede 100644 --- a/meson.build +++ b/meson.build @@ -41,6 +41,8 @@ plugins_deps = [ dependency('cairo'), ] +dep_lm = c_compiler.find_library('m', required : true) + deps = [ plugins_deps, dependency('gio-unix-2.0'), @@ -48,6 +50,7 @@ deps = [ dependency('pangocairo'), dependency('xkbcommon'), dependency('gdk-pixbuf-2.0'), + dep_lm, ]