meson: concatenate donors specified in 'objects'

Previously, we'd only honour the last donor.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-04-23 10:13:25 +02:00
committed by Daan De Meyer
parent 43dab5ea87
commit 079361e8f0
+1 -1
View File
@@ -2242,7 +2242,7 @@ foreach dict : executables
foreach val : dict.get('objects', [])
obj = objects_by_name[val]
kwargs += { 'objects' : obj['objects'] }
kwargs += { 'objects' : kwargs.get('objects', []) + obj['objects'] }
include_directories += obj['include_directories']
endforeach