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
parent
a55042e2c6
commit
10dd3eb6d5
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue