summaryrefslogtreecommitdiff
path: root/xmake/modules/detect
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-03 23:10:36 +0800
committerGitHub <[email protected]>2025-02-03 23:10:36 +0800
commit648d2941ad0efd049661d13da9a5578d14ced92f (patch)
tree9bc6a28f52bfd440ceb0760519b3bcefaaf12aeb /xmake/modules/detect
parent9afa188316f3a94e70f7643dc3ea41d46df8f03e (diff)
parentfffc4190d7c706156e8421a7381c0bb62ae90cc8 (diff)
Merge branch 'dev' into add-raddbg-debugger
Diffstat (limited to 'xmake/modules/detect')
-rw-r--r--xmake/modules/detect/tools/find_lldb.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/find_lldb.lua b/xmake/modules/detect/tools/find_lldb.lua
index 7bd0b97ff..bf1e06269 100644
--- a/xmake/modules/detect/tools/find_lldb.lua
+++ b/xmake/modules/detect/tools/find_lldb.lua
@@ -37,19 +37,11 @@ import("lib.detect.find_programver")
-- @endcode
--
function main(opt)
-
- -- init options
opt = opt or {}
-
- -- find program
local program = find_program(opt.program or "lldb", opt)
-
- -- find program version
local version = nil
if program and opt and opt.version then
version = find_programver(program, opt)
end
-
- -- ok?
return program, version
end