summaryrefslogtreecommitdiffstats
path: root/src/vulkan/overlay-layer
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-05-10 18:55:54 +0100
committerLionel Landwerlin <[email protected]>2019-05-22 14:07:14 +0000
commitcb7c9b2a9352cc73a2d3becc0427c53c8baf153a (patch)
tree28ae03b3d66c6a31edfbd1fdfcc2c1c0c3e1792b /src/vulkan/overlay-layer
parent506ebf55c0446e690c2f40471fce2d4ea2f9762d (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]>
Diffstat (limited to 'src/vulkan/overlay-layer')
-rw-r--r--src/vulkan/overlay-layer/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/overlay-layer/meson.build b/src/vulkan/overlay-layer/meson.build
index 3fd3a105b89..326e2004b53 100644
--- a/src/vulkan/overlay-layer/meson.build
+++ b/src/vulkan/overlay-layer/meson.build
@@ -41,10 +41,10 @@ vklayer_mesa_overlay = shared_library(
vklayer_files, overlay_spv,
c_args : [c_vis_args, no_override_init_args, vulkan_wsi_args],
cpp_args : [cpp_vis_args, vulkan_wsi_args],
- dependencies : [vulkan_wsi_deps, libimgui_core_dep, dep_dl],
- include_directories : [inc_common, inc_vulkan_util],
+ dependencies : [idep_vulkan_util, vulkan_wsi_deps, libimgui_core_dep, dep_dl],
+ include_directories : inc_common,
link_args : cc.get_supported_link_arguments(['-Wl,-Bsymbolic-functions', '-Wl,-z,relro']),
- link_with : [libmesa_util, libvulkan_util],
+ link_with : libmesa_util,
install : true
)