aboutsummaryrefslogtreecommitdiffstats
path: root/src/meson.build
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 /src/meson.build
parentbuild: bump to version 1.18.91 for the alpha release (diff)
downloadwayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.gz
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.bz2
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.lz
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.xz
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.tar.zst
wayland-74182eb605bf0e45b777cb8b942f5263877c7e72.zip
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 'src/meson.build')
-rw-r--r--src/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 2d1485c..d91c503 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -77,7 +77,7 @@ if get_option('libraries')
'connection.c',
'wayland-os.c'
],
- dependencies: [ ffi_dep, ]
+ dependencies: [ ffi_dep, rt_dep ]
)
wayland_private_dep = declare_dependency(
@@ -155,7 +155,8 @@ if get_option('libraries')
wayland_private_dep,
wayland_util_dep,
mathlib_dep,
- threads_dep
+ threads_dep,
+ rt_dep
],
include_directories: root_inc,
install: true