summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLoïc Yhuel <loic.yhuel@softathome.com>2020-04-02 18:25:54 +0200
committerLoïc Yhuel <loic.yhuel@softathome.com>2020-12-23 15:37:58 +0100
commit74182eb605bf0e45b777cb8b942f5263877c7e72 (patch)
treea72a57e02356e20d68de0762f821a8231b84e013 /tests
parentea09c2fde7fcfc7e24a19ae5c5977981e9befeb7 (diff)
downloadwayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.gz
meson: link with -lrt if needed for clock_gettime
This is already done in autotools, and fixes the build with glibc < 2.17. Signed-off-by: Loïc Yhuel <loic.yhuel@softathome.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 224f48d..a32ac50 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -54,7 +54,7 @@ benchmark(
executable(
'fixed-benchmark',
'fixed-benchmark.c',
- dependencies: test_runner_dep
+ dependencies: [ test_runner_dep, rt_dep ]
)
)