diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 16:31:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 22:15:33 +0100 |
commit | a38c6682e4fb1f45aa1f37d10c2480aa517ea3bc (patch) | |
tree | d767d3f18eab231fdd0cff8fdd0c602869c42848 /src/task_ld.cc | |
parent | e4ccfe780f52cdb6c0764074effcd60235d33762 (diff) |
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.
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r-- | src/task_ld.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |