summaryrefslogtreecommitdiff
path: root/src/task_so.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_so.cc')
-rw-r--r--src/task_so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_so.cc b/src/task_so.cc
index 5623bcf..863b80a 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -57,7 +57,7 @@ TaskSO::TaskSO(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;