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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index acd733b..9a36bd9 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -24,9 +24,9 @@ TaskLD::TaskLD(const BuildConfiguration& config,
, sourceDir(sourceDir)
{
target_type = config.type;
- if(target_type == TargetType::Auto)
+ if(target_type == ctor::target_type::automatic)
{
- target_type = TargetType::Executable;
+ target_type = ctor::target_type::executable;
}
std::filesystem::create_directories(std::filesystem::path(settings.builddir) / sourceDir);