mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
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>
This commit is contained in:
parent
ea09c2fde7
commit
74182eb605
3 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue