summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/stdmodules/xmake.lua
diff options
context:
space:
mode:
authorMauro Tortonesi <[email protected]>2022-11-03 17:09:14 +0100
committerMauro Tortonesi <[email protected]>2022-11-03 17:09:14 +0100
commit4be10d436233bd7dffc0c91f5c5bd2d0806156ba (patch)
tree1eb7babab534408e4857b9bdede1dc4a751a795e /tests/projects/c++/modules/stdmodules/xmake.lua
parent60b8a7e7b06b4f964c07a8e784832883c3073a83 (diff)
Fix sandbox_lib_detect_find_path._find function.
Function sandbox_lib_detect_find_path._find function currently searches the first occurrence of substring path.pattern(path.translate(name)) within filepath. This behavior breaks in case one wants, e.g., to find packages named libsomething. The correct behavior would be to find the last occurrence of substring path.pattern(path.translate(name)) within filepath. Hence this patch.
Diffstat (limited to 'tests/projects/c++/modules/stdmodules/xmake.lua')
0 files changed, 0 insertions, 0 deletions