summaryrefslogtreecommitdiff
path: root/src/task_ld.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 17:47:30 +0100
commit75d1fa7244b9c5cddae056a281f457dd1e81cfb2 (patch)
tree7a01afcc48a52ec500e0ede5dabaa517c952c7f1 /src/task_ld.cc
parent1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff)
Rename TargetType::Xyz to target_type::xyz
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);