diff options
| author | ruki <[email protected]> | 2024-07-07 22:45:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-07 22:45:55 +0800 |
| commit | 945195e1a2b35908cbec1bd1fa16f84683903545 (patch) | |
| tree | 21cbcb3b3eece4f90bb72ca924fd9bff6c8ad1b3 /xmake/modules/detect/tools/find_ld.lua | |
| parent | e1986ee24e3dd32186fe7f8b5b9e7175fdf873c4 (diff) | |
fix find ld
Diffstat (limited to 'xmake/modules/detect/tools/find_ld.lua')
| -rw-r--r-- | xmake/modules/detect/tools/find_ld.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/modules/detect/tools/find_ld.lua b/xmake/modules/detect/tools/find_ld.lua index cadcbfeec..802367400 100644 --- a/xmake/modules/detect/tools/find_ld.lua +++ b/xmake/modules/detect/tools/find_ld.lua @@ -36,11 +36,7 @@ import("lib.detect.find_program") -- @endcode -- function main(opt) - - -- init options - opt = opt or {} + opt = opt or {} opt.norun = true - - -- find program return find_program(opt.program or "ld", opt) end |
