summaryrefslogtreecommitdiffstats
path: root/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils.cpp')
-rw-r--r--utils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/utils.cpp b/utils.cpp
index 1daa3c9..5253c1c 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -20,7 +20,12 @@ void loadLibraries(const std::string& path)
{
auto ps = p.path().string();
- if (!std::regex_match(ps, std::regex(".+\\.so$")))
+ /* The bitbake recipe symlinks the library lib*.so.? into the folder
+ * only, and not the other names, .so, .so.?.?, .so.?.?.?
+ *
+ * Therefore only care if it's lib*.so.?
+ */
+ if (!std::regex_match(ps, std::regex(".+\\.so\\.\\d+$")))
{
continue;
}
OpenPOWER on IntegriCloud