]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Rename the source file cache
authorFred Morcos <fred.morcos@open-xchange.com>
Mon, 27 Nov 2023 15:20:09 +0000 (16:20 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:58 +0000 (13:28 +0100)
pdns/meson.build

index f9cc1b5c72e58d6debd6197bed67f51170af989f..80093753d9a822d4c77fbd9c8dc798f096010579 100644 (file)
@@ -1772,7 +1772,7 @@ if get_option('fuzz-targets')
   }
 endif
 
-source_deps = {}
+source_deps_cache = {}
 
 foreach tool_name, tool_info: tool_libs
   tool_deps = tool_info['deps']
@@ -1784,9 +1784,9 @@ foreach tool_name, tool_info: tool_libs
 
   foreach source: all_sources
     if source.endswith('.cc')
-      if source not in source_deps
+      if source not in source_deps_cache
         # Create a new cached dependency for this source file.
-        source_deps += {
+        source_deps_cache += {
           source: declare_dependency(
             link_whole: static_library(
               'pdns-' + source.replace('/', '__'),
@@ -1797,7 +1797,7 @@ foreach tool_name, tool_info: tool_libs
         }
       endif
 
-      tool_sources += source_deps[source]
+      tool_sources += source_deps_cache[source]
     elif source.endswith('.hh')
       tool_headers += source
     else