summaryrefslogtreecommitdiffhomepage
path: root/Builder.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2024-05-18 16:31:14 +0200
committerRoland Reichwein <mail@reichwein.it>2024-05-18 16:31:14 +0200
commitf857007dbb6a0a26a6828017da64540eda452fbf (patch)
treea2fc22abb236c6f07a9b9425a87b18f5f2e189f8 /Builder.h
parent8a4dfbbbe76a2aef35427b7915d6e28bab165c43 (diff)
Link different kinds of libs
Diffstat (limited to 'Builder.h')
-rw-r--r--Builder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Builder.h b/Builder.h
index bd11599..523175a 100644
--- a/Builder.h
+++ b/Builder.h
@@ -27,7 +27,7 @@ private:
std::vector<std::filesystem::path> dependencies_of(const std::filesystem::path& p) const;
std::vector<std::filesystem::path> include_paths_of_object(const std::filesystem::path& p) const;
std::filesystem::path target_from_object(const std::filesystem::path& object) const;
- std::vector<std::string> link_libs_of(const std::filesystem::path& p) const;
+ std::vector<std::filesystem::path> link_libs_of(const std::filesystem::path& p) const;
bool is_outdated(const std::filesystem::path& p) const;
bool is_outdated(const std::filesystem::path& p, const std::vector<std::filesystem::path> &dependencies) const;
std::vector<std::filesystem::path> make_depfile_from(const std::filesystem::path& p) const;
@@ -45,7 +45,7 @@ private:
std::vector<std::filesystem::path> _all_objects;
std::unordered_map<std::filesystem::path, std::vector<std::filesystem::path>> _dependencies;
std::unordered_map<std::filesystem::path, std::vector<std::filesystem::path>> _include_paths;
- std::unordered_map<std::filesystem::path, std::vector<std::string>> _link_libs;
+ std::unordered_map<std::filesystem::path, std::vector<std::filesystem::path>> _link_libs;
LanguageSettings _lang;
ProcessRunner _runner;