summaryrefslogtreecommitdiffstats
path: root/bin/tools/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools/meson.build')
-rw-r--r--bin/tools/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/tools/meson.build b/bin/tools/meson.build
index 3ae20d6..6901939 100644
--- a/bin/tools/meson.build
+++ b/bin/tools/meson.build
@@ -1,3 +1,6 @@
+cc = meson.get_compiler('c')
+libm = cc.find_library('m')
+
executable('uca-info',
sources: ['info.c'],
include_directories: include_dir,
@@ -9,7 +12,7 @@ executable('uca-info',
executable('uca-grab',
sources: ['grab.c', 'common.c'],
include_directories: include_dir,
- dependencies: deps,
+ dependencies: deps + [libm],
link_with: lib,
install: true
)