summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-24 21:27:07 +0800
committerGitHub <[email protected]>2021-09-24 21:27:07 +0800
commit37d770af0cb8714309a9aad7188616079ad006eb (patch)
tree4ea50c91d9cca14f5ae0fe7697c00f9e6563c917
parent686ea5861ca004c22a19ecbc7be67c17fd7f9755 (diff)
Update find_swig.lua
-rw-r--r--xmake/modules/detect/tools/find_swig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_swig.lua b/xmake/modules/detect/tools/find_swig.lua
index 1442d712d..25220030e 100644
--- a/xmake/modules/detect/tools/find_swig.lua
+++ b/xmake/modules/detect/tools/find_swig.lua
@@ -39,7 +39,7 @@ function main(opt)
-- init options
opt = opt or {}
- opt.check = opt.check or "-help"
+ opt.check = opt.check or "-version"
-- find program
local program = find_program(opt.program or "swig", opt)