From: Jonathan Marek Date: Thu, 13 Aug 2020 15:18:13 +0000 (-0400) Subject: panfrost: add missing dependency on midgard_pack.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a322924d9cf4557af5fb11c95c1646f110a21aba;p=mesa.git panfrost: add missing dependency on midgard_pack.h Fixes build failing when libpanfrost is built before midgard_pack. Signed-off-by: Jonathan Marek Part-of: --- diff --git a/src/gallium/drivers/panfrost/meson.build b/src/gallium/drivers/panfrost/meson.build index 89f877a5bb2..7222d40c3c3 100644 --- a/src/gallium/drivers/panfrost/meson.build +++ b/src/gallium/drivers/panfrost/meson.build @@ -64,7 +64,8 @@ libpanfrost = static_library( dependencies: [ dep_thread, dep_libdrm, - idep_nir + idep_nir, + idep_midgard_pack ], include_directories : panfrost_includes, c_args : [c_msvc_compat_args, compile_args_panfrost], diff --git a/src/panfrost/lib/meson.build b/src/panfrost/lib/meson.build index a24eebca002..efcc55e2942 100644 --- a/src/panfrost/lib/meson.build +++ b/src/panfrost/lib/meson.build @@ -50,6 +50,11 @@ midgard_pack = custom_target( capture : true, ) +idep_midgard_pack = declare_dependency( + sources : [midgard_pack], + include_directories : include_directories('.'), +) + libpanfrost_lib = static_library( 'panfrost_lib', [libpanfrost_lib_files, midgard_pack],