diff options
author | Lionel Landwerlin <[email protected]> | 2019-05-10 18:55:54 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-05-23 08:57:26 +0000 |
commit | 9037cf26bb9933a34cc92f39c8b104220c9e1c61 (patch) | |
tree | 14aa2b6aba0ebb02fcb55255818343158af2f029 /src/freedreno | |
parent | b02c6e8ee798eb5166eb4ca863ef08bdcb56d2c4 (diff) |
vulkan: fix build dependency issue with generated files
On machines with many cores, you can run into that issue :
../mesa-9999/src/vulkan/overlay-layer/overlay.cpp:42:10: fatal error: vk_enum_to_str.h: No such file or directory
v2: Move declare_dependency around (Eric)
Signed-off-by: Lionel Landwerlin <[email protected]>
Reported-by: Jan Ziak
Cc: <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
(cherry picked from commit cb7c9b2a9352cc73a2d3becc0427c53c8baf153a)
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/vulkan/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/meson.build b/src/freedreno/vulkan/meson.build index f58aff2cbdb..a25193a8147 100644 --- a/src/freedreno/vulkan/meson.build +++ b/src/freedreno/vulkan/meson.build @@ -90,12 +90,10 @@ libvulkan_freedreno = shared_library( include_directories : [ inc_common, inc_compiler, - inc_vulkan_util, inc_vulkan_wsi, inc_freedreno, ], link_with : [ - libvulkan_util, libvulkan_wsi, libmesa_util, libfreedreno_drm, # required by ir3_shader_get_variant, which we don't use @@ -111,6 +109,7 @@ libvulkan_freedreno = shared_library( dep_valgrind, idep_nir, tu_deps, + idep_vulkan_util, ], c_args : [c_vis_args, no_override_init_args, tu_flags], link_args : [ld_args_bsymbolic, ld_args_gc_sections], |