diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-05-10 21:15:30 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-05-10 21:15:30 +0200 |
commit | a7e016c2c633667b561a0f26ebde88cb26571d1c (patch) | |
tree | 7c66727de7022d5d962448be365dd059bb0ecac1 /Builder.cpp | |
parent | bfdb4e9d2cfc7890c5f194e670039fa76c391330 (diff) |
Build static and dynamic libs
Diffstat (limited to 'Builder.cpp')
-rw-r--r-- | Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Builder.cpp b/Builder.cpp index e74809b..cc756f2 100644 --- a/Builder.cpp +++ b/Builder.cpp @@ -315,7 +315,7 @@ void Builder::build_file(const fs::path& p) { if (p.extension() == ".o") { // compile fs::path source_file{get_compile_unit_source_from_object(p)}; - command = _lang.getCompileCommand(p, source_file, include_paths_of_object(p)); + command = _lang.getCompileCommand(p, source_file, target_from_object(p), include_paths_of_object(p)); } else { // link std::vector<fs::path> objects{dependencies_of(p)}; |