summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_ar.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-08 23:43:28 +0800
committerruki <[email protected]>2024-05-08 23:43:28 +0800
commiteed3d87b3d383ad6fe5055c56ec2ebaa872a3b9a (patch)
tree4e6113269231d2d1dc24c1c154e3b800aec41bd9 /xmake/modules/detect/tools/find_ar.lua
parentf7ee280ab5326abf641fe7bc1ebf12b31cf2423c (diff)
improve find gcc_ar
Diffstat (limited to 'xmake/modules/detect/tools/find_ar.lua')
-rw-r--r--xmake/modules/detect/tools/find_ar.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/modules/detect/tools/find_ar.lua b/xmake/modules/detect/tools/find_ar.lua
index f6b001f21..f7bf6db77 100644
--- a/xmake/modules/detect/tools/find_ar.lua
+++ b/xmake/modules/detect/tools/find_ar.lua
@@ -51,11 +51,7 @@ end
-- @endcode
--
function main(opt)
-
- -- init options
opt = opt or {}
opt.check = opt.check or _check
-
- -- find program
return find_program(opt.program or "ar", opt)
end