meson: add missing dependency on generated git_sha1.h
authorMichael Forney <mforney@mforney.org>
Wed, 16 Dec 2020 08:48:25 +0000 (00:48 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 17 Dec 2020 00:03:22 +0000 (00:03 +0000)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8121>

src/freedreno/common/meson.build
src/gallium/frontends/lavapipe/meson.build
src/intel/common/meson.build

index 2da6c1e..30ef230 100644 (file)
@@ -27,6 +27,7 @@ libfreedreno_common = static_library(
     'freedreno_uuid.c',
     'freedreno_uuid.h',
     'freedreno_guardband.h',
+    sha1_h,
   ],
   include_directories : [inc_freedreno, inc_include, inc_src, inc_gallium],
   c_args : [no_override_init_args],
index 972735f..94c68d1 100644 (file)
@@ -57,7 +57,7 @@ endif
 
 liblavapipe_st = static_library(
   'lavapipe_st',
-  [liblvp_files, lvp_entrypoints, lvp_extensions_c ],
+  [liblvp_files, lvp_entrypoints, lvp_extensions_c, sha1_h],
   link_with : [ libvulkan_wsi ],
   c_args : [ lvp_flags ],
   gnu_symbol_visibility : 'hidden',
index 2586b4c..53c458f 100644 (file)
@@ -42,8 +42,8 @@ files_libintel_common = files(
 )
 
 libintel_common = static_library(
-  ['intel_common', genX_xml_h],
-  files_libintel_common,
+  'intel_common',
+  [files_libintel_common, genX_xml_h, sha1_h],
   include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel],
   c_args : [no_override_init_args],
   gnu_symbol_visibility : 'hidden',