From cdd5198aa2b1062ae0aa61a7396a7535a4f80ace Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 21 Jan 2023 16:31:54 +0100 Subject: Make sure libctor itself is built in the 'build' system and not 'host' system. Only detect tooling for the system/tools actually required in the tasks. --- src/task_ar.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/task_ar.cc') diff --git a/src/task_ar.cc b/src/task_ar.cc index 60f7dd1..19a65ae 100644 --- a/src/task_ar.cc +++ b/src/task_ar.cc @@ -22,6 +22,8 @@ TaskAR::TaskAR(const ctor::build_configuration& config, , sourceDir(sourceDir) { target_type = ctor::target_type::static_library; + output_system = config.system; + _targetFile = target; auto toolchain = getToolChain(config.system); _targetFile = extension(toolchain, target_type, config.system, _targetFile); -- cgit v1.2.3