mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 13:20:33 +01:00
virgl: link VA driver with build-id
Without a build-id the virgl VAAPI driver segfaults trying to access the
NULL returned by the build-id header retriever used for disk caches
Fixes: d6db4d2e08 ("virgl: Add simple disk cache")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19885>
This commit is contained in:
parent
76cc85ebb9
commit
16a66a67ef
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ if host_machine.system() == 'windows'
|
|||
libva_gallium = shared_library(
|
||||
'vaon12_drv_video',
|
||||
'target.c',
|
||||
link_args : [va_link_args, ld_args_gc_sections],
|
||||
link_args : [va_link_args, ld_args_gc_sections, ld_args_build_id],
|
||||
vs_module_defs : vaon12_def,
|
||||
include_directories : [
|
||||
inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers, inc_gallium_winsys_sw
|
||||
|
|
@ -80,7 +80,7 @@ else
|
|||
'gallium_drv_video',
|
||||
'target.c',
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
link_args : [va_link_args, ld_args_gc_sections],
|
||||
link_args : [va_link_args, ld_args_gc_sections, ld_args_build_id],
|
||||
include_directories : [
|
||||
inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue