diff options
| author | wps <[email protected]> | 2025-03-27 10:43:25 +0800 |
|---|---|---|
| committer | wps <[email protected]> | 2025-03-27 10:43:25 +0800 |
| commit | 86bdb42dcea06a5d787c126a077a6e619c5dfa68 (patch) | |
| tree | ad5ca5ec5730bc9d8796dc8b696c7996a1f3a0b9 /xmake/modules/utils/binary/deplibs.lua | |
| parent | 336c0dca475a233b754b713486f44590491a0752 (diff) | |
[fix] xmake install skips SO with version like libfreetype.so.6.20.2
Diffstat (limited to 'xmake/modules/utils/binary/deplibs.lua')
| -rw-r--r-- | xmake/modules/utils/binary/deplibs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/utils/binary/deplibs.lua b/xmake/modules/utils/binary/deplibs.lua index 146e79504..52261b386 100644 --- a/xmake/modules/utils/binary/deplibs.lua +++ b/xmake/modules/utils/binary/deplibs.lua @@ -81,7 +81,7 @@ function _get_all_depends_by_objdump(binaryfile, opt) else if line:startswith("NEEDED") then local filename = line:split("%s+")[2] - if filename and filename:endswith(".so") then + if filename and filename:endswith(".so") or filename:match(".-%.so%.%d+") then depends = depends or {} table.insert(depends, filename) end |
