Use dep_rt in amdgpu/meson.build

The amdgpu implementation uses `clock_gettime` so it needs to check whether it needs to link
against `-librt`.

Signed-off-by: Valentin Churavy <v.churavy@gmail.com>
main
Valentin Churavy 2020-11-17 19:51:04 +00:00
parent a55042e2c6
commit 10dd3eb6d5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ libdrm_amdgpu = shared_library(
], ],
include_directories : [inc_root, inc_drm], include_directories : [inc_root, inc_drm],
link_with : libdrm, link_with : libdrm,
dependencies : [dep_pthread_stubs, dep_atomic_ops], dependencies : [dep_pthread_stubs, dep_atomic_ops, dep_rt],
version : '1.0.0', version : '1.0.0',
install : true, install : true,
) )