diff options
Diffstat (limited to 'file.cpp')
-rw-r--r-- | file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -117,6 +117,11 @@ bool is_static_lib(const std::filesystem::path& p) return p.extension() == ".a"; } +bool is_external_lib(const std::filesystem::path& p) +{ + return !(is_static_lib(p) || is_dynamic_lib(p) || is_dynamic_lib_link(p)); +} + std::filesystem::path simplified_path(const std::filesystem::path& p) { if (p.string().substr(0, 2) == "./") { |