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, 1 insertions, 1 deletions
diff --git a/src/task_ld.cc b/src/task_ld.cc
index 1b5665e..7710bb0 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -62,7 +62,7 @@ TaskLD::TaskLD(const BuildConfiguration& config,
source_language = Language::C;
for(const auto& source : config.sources)
{
- std::filesystem::path sourceFile(source);
+ std::filesystem::path sourceFile(source.file);
if(sourceFile.extension().string() != ".c")
{
source_language = Language::Cpp;