diff options
| author | ruki <[email protected]> | 2025-04-27 15:43:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-27 15:43:44 +0800 |
| commit | 2774ecbc0961e1e2b1f995d8937b44c2c90e11c6 (patch) | |
| tree | d8c01e66824369d74badd6c2c61bfa4ee33c4ab9 /xmake/plugins | |
| parent | 00ff68e7319def8c566443aa513454ad86ccecd7 (diff) | |
| parent | a0030c2c4fc23fd344dc5f8d9b2c18bc0d7c6b39 (diff) | |
Merge pull request #6372 from binLep/dev
Updated the issue where package dependencies cannot find so files during installation
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/pack/batchcmds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/batchcmds.lua b/xmake/plugins/pack/batchcmds.lua index 7e7313abe..e9a7f4c24 100644 --- a/xmake/plugins/pack/batchcmds.lua +++ b/xmake/plugins/pack/batchcmds.lua @@ -92,7 +92,7 @@ function _get_target_package_libfiles(target, opt) if pkg:enabled() and pkg:get("libfiles") then for _, libfile in ipairs(table.wrap(pkg:get("libfiles"))) do local filename = path.filename(libfile) - if filename:endswith(".dll") or filename:endswith(".so") or filename:find("%.so%.%d+$") or filename:endswith(".dylib") then + if filename:endswith(".dll") or filename:endswith(".so") or filename:find("%.so[%.%d+]+$") or filename:endswith(".dylib") then table.insert(libfiles, libfile) end end |
