aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2021-09-29 14:20:53 +0200
committerDylan Baker <dylan@pnwbakers.com>2021-09-29 10:14:23 -0700
commit7ad54cce49ce22b063e0cd56edb4b7f722dc5e8e (patch)
treeed3ef0dd5204d570ae41cd839db4627869bc4218
parent59b8e00249858599cf198a2e0fc09baf9e3b3c46 (diff)
downloadmeson-7ad54cce49ce22b063e0cd56edb4b7f722dc5e8e.zip
meson-7ad54cce49ce22b063e0cd56edb4b7f722dc5e8e.tar.gz
meson-7ad54cce49ce22b063e0cd56edb4b7f722dc5e8e.tar.bz2
tests/rust: add libm to fix build with rust 1.55
Fixes #9309
-rw-r--r--test cases/rust/5 polyglot static/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/rust/5 polyglot static/meson.build b/test cases/rust/5 polyglot static/meson.build
index de2e61b..a6e9550 100644
--- a/test cases/rust/5 polyglot static/meson.build
+++ b/test cases/rust/5 polyglot static/meson.build
@@ -2,6 +2,7 @@ project('static rust and c polyglot executable', 'c', 'rust')
deps = [
meson.get_compiler('c').find_library('dl', required: false),
+ meson.get_compiler('c').find_library('m', required: false),
dependency('threads'),
]