diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-25 11:06:50 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-25 11:14:36 +0200 |
commit | 019ee9f3026a419cd25916974d32fe1ebcff9578 (patch) | |
tree | 0e4edbdc40db6cff21d85613decb176ad2dd5378 /src/task_ld.cc | |
parent | dcd084fa4abcde59d8e69c3fd24ec8685ad5065c (diff) |
Add support for (optionally) explicitly declaring source language type in build configurations.
Diffstat (limited to 'src/task_ld.cc')
-rw-r--r-- | src/task_ld.cc | 2 |
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; |