From a38c6682e4fb1f45aa1f37d10c2480aa517ea3bc 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_so.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/task_so.cc') diff --git a/src/task_so.cc b/src/task_so.cc index 54f9c05..ba96388 100644 --- a/src/task_so.cc +++ b/src/task_so.cc @@ -24,6 +24,8 @@ TaskSO::TaskSO(const ctor::build_configuration& config, std::filesystem::path base = sourceDir; target_type = ctor::target_type::dynamic_library; + output_system = config.system; + _targetFile = base / target; auto toolchain = getToolChain(config.system); _targetFile = extension(toolchain, target_type, config.system, _targetFile); -- cgit v1.2.3