targets with dependencies get double prepared

This commit is contained in:
2026-06-28 23:23:05 -05:00
parent 3dee00a2f6
commit c5e0179edb
+1 -1
View File
@@ -50,5 +50,5 @@ def _prepare_dependencies(
if project.cid != parent.cid: if project.cid != parent.cid:
if required.value not in parent.exports: if required.value not in parent.exports:
raise Exception(f"Cannot depend on non-exported target: {required.value}") raise Exception(f"Cannot depend on non-exported target: {required.value}")
commands.extend(prepare(appcfg, parent, target, logger)) commands.extend(prepare(appcfg, parent, dependency, logger))
return commands return commands