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_ld.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/task_ld.cc') diff --git a/src/task_ld.cc b/src/task_ld.cc index b7e8749..b0aa4ae 100644 --- a/src/task_ld.cc +++ b/src/task_ld.cc @@ -22,6 +22,8 @@ TaskLD::TaskLD(const ctor::build_configuration& config, , sourceDir(sourceDir) { target_type = config.type; + output_system = config.system; + if(target_type == ctor::target_type::automatic) { target_type = ctor::target_type::executable; -- cgit v1.2.3