summaryrefslogtreecommitdiff
path: root/src/task_ld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r--src/task_ld.cc2
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;