From 10dd3eb6d5ab6c1867e1ca9dd67756c152e6269e Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Tue, 17 Nov 2020 19:51:04 +0000 Subject: [PATCH] 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 --- amdgpu/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amdgpu/meson.build b/amdgpu/meson.build index a1781f5..d5c5f39 100644 --- a/amdgpu/meson.build +++ b/amdgpu/meson.build @@ -36,7 +36,7 @@ libdrm_amdgpu = shared_library( ], include_directories : [inc_root, inc_drm], link_with : libdrm, - dependencies : [dep_pthread_stubs, dep_atomic_ops], + dependencies : [dep_pthread_stubs, dep_atomic_ops, dep_rt], version : '1.0.0', install : true, ) -- 2.7.4