projects
/
platform
/
core
/
dotnet
/
launcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c4675
)
Check library extensions more accurately
accepted/tizen/unified/20230825.044242
author
j-h.choi
<j-h.choi@samsung.com>
Thu, 24 Aug 2023 00:52:30 +0000
(09:52 +0900)
committer
조웅석/MDE Lab(SR)/삼성전자
<ws77.cho@samsung.com>
Thu, 24 Aug 2023 01:12:14 +0000
(10:12 +0900)
NativeLauncher/tool/tac_common.cc
patch
|
blob
|
history
diff --git
a/NativeLauncher/tool/tac_common.cc
b/NativeLauncher/tool/tac_common.cc
index
874b4b8
..
dcd5c1d
100644
(file)
--- a/
NativeLauncher/tool/tac_common.cc
+++ b/
NativeLauncher/tool/tac_common.cc
@@
-439,7
+439,7
@@
std::vector<std::string> getLibrariesInfo(const std::string& rootPath)
return LibrariesInfo;
auto convert = [&LibrariesInfo](const std::string& filepath, const std::string& filename) {
- if (file
path.rfind(".so"
) != std::string::npos) {
+ if (file
name.find(".so", filename.size() - 3
) != std::string::npos) {
std::string buffer = SHA256(filepath);
LibrariesInfo.push_back(filepath + ":" + buffer);
_INFO("Library : [%s] / SHA256 : [%s]", filename.c_str(), buffer.c_str());