summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index e920571..d767912 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -58,7 +58,7 @@ TaskAR::TaskAR(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;