From a7e016c2c633667b561a0f26ebde88cb26571d1c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 10 May 2024 21:15:30 +0200 Subject: Build static and dynamic libs --- Builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Builder.cpp') 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 objects{dependencies_of(p)}; -- cgit v1.2.3