meson: concatenate donors specified in 'objects'
Previously, we'd only honour the last donor.
This commit is contained in:
committed by
Daan De Meyer
parent
43dab5ea87
commit
079361e8f0
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user