Commit 97aea7d5 authored by Dylan Baker's avatar Dylan Baker

meson: only require libelf if building radv

And add a todo about clover, r600, and radeonsi, which also need libelf.
Signed-off-by: default avatarDylan Baker <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
parent 001b65a8
......@@ -288,7 +288,7 @@ dep_thread = dependency('threads')
pre_args += '-DHAVE_PTHREAD'
dep_elf = dependency('libelf', required : false)
if not dep_elf.found()
dep_elf = cc.find_library('elf')
dep_elf = cc.find_library('elf', required : with_amd_vk) # TODO: clover, r600, radeonsi
dep_expat = dependency('expat')
# this only exists on linux so either this is linux and it will be found, or
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment