meson,amd: Remove Windows libelf wrap
Functionality isn't worth the maintenance cost. Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18797>
This commit is contained in:
@@ -1903,12 +1903,8 @@ with_opencl_native = _opencl != 'disabled' and get_option('opencl-native')
|
||||
if (with_amd_vk or with_gallium_radeonsi or
|
||||
(with_gallium_opencl and with_opencl_native) or
|
||||
(with_gallium_r600 and with_llvm))
|
||||
if with_platform_windows
|
||||
dep_elf = dependency('libelf', required : false, fallback : ['libelf', 'libelf_dep'])
|
||||
else
|
||||
dep_elf = dependency('libelf', required : false)
|
||||
endif
|
||||
if not dep_elf.found()
|
||||
dep_elf = dependency('libelf', required : false)
|
||||
if not with_platform_windows and not dep_elf.found()
|
||||
dep_elf = cc.find_library('elf')
|
||||
endif
|
||||
else
|
||||
|
Reference in New Issue
Block a user