intel/hang_replay: fix compile race with generated files

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 03712579b0 ("intel/tools: add hang_replay tool")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26510>
This commit is contained in:
Lionel Landwerlin 2023-12-04 21:49:51 +02:00 committed by Marge Bot
parent dcf2f25169
commit 344a4948b7

View file

@ -86,7 +86,7 @@ error2hangdump = executable(
intel_hang_replay = executable(
'intel_hang_replay',
files('intel_hang_replay.c'),
dependencies : [idep_libintel_common, dep_libdrm, dep_dl, dep_thread, dep_m],
dependencies : [idep_intel_dev, idep_libintel_common, dep_libdrm, dep_dl, dep_thread, dep_m],
include_directories : [inc_include, inc_src, inc_intel],
link_with : [libintel_dev, libintel_compiler],
c_args : [no_override_init_args],