build: Use objects of build context for programs

This commit is contained in:
Sebastian Huber
2021-07-15 13:42:07 +02:00
parent 394efd479c
commit 19e4a3d25c

View File

@@ -659,7 +659,7 @@ class TestProgramItem(Item):
start_files=True, start_files=True,
stlib=self.data["stlib"], stlib=self.data["stlib"],
target=self.get(bld, "target"), target=self.get(bld, "target"),
use=self.data["use-before"] + bic.use + self.data["use-after"], use=bic.objects + self.data["use-before"] + bic.use + self.data["use-after"],
) )