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 17:17:54 +0100 |
commit | cdd5198aa2b1062ae0aa61a7396a7535a4f80ace (patch) | |
tree | ce778f1e018845e8e16aacb333653685c15e3a4c /src/task_ar.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.msvc
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r-- | src/task_ar.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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); |