File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,10 @@ def derive_setup_local(
511
511
)
512
512
513
513
if target_match and (python_min_match and python_max_match ):
514
- line += f" { entry ['source' ]} "
514
+ if source := entry .get ("source" ):
515
+ line += f" { source } "
516
+ for source in entry .get ("sources" , []):
517
+ line += f" { source } "
515
518
516
519
for define in info .get ("defines" , []):
517
520
line += f" -D{ define } "
@@ -549,7 +552,11 @@ def derive_setup_local(
549
552
)
550
553
551
554
if target_match and (python_min_match and python_max_match ):
552
- line += f" -I{ entry ['path' ]} "
555
+ # TODO: Change to `include` and drop support for `path`
556
+ if include := entry .get ("path" ):
557
+ line += f" -I{ include } "
558
+ for include in entry .get ("includes" , []):
559
+ line += f" -I{ include } "
553
560
554
561
for path in info .get ("includes-deps" , []):
555
562
# Includes are added to global search path.
You can’t perform that action at this time.
0 commit comments