diff options
| author | ririyeye <[email protected]> | 2024-08-30 17:27:00 +0800 |
|---|---|---|
| committer | ririyeye <[email protected]> | 2024-08-30 17:27:00 +0800 |
| commit | 82ad21c522eea01013986595cfe0b0a3afa58850 (patch) | |
| tree | 8f18b44c1aa189b7721db5ca2c909afbaaf98407 | |
| parent | b42c2b02ae23c7c0b4c4f43dc3adfbb7eae2c1f3 (diff) | |
fix input par
| -rw-r--r-- | xmake/rules/swig/build_module_file.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua index 5ed532be2..bd3dd58fd 100644 --- a/xmake/rules/swig/build_module_file.lua +++ b/xmake/rules/swig/build_module_file.lua @@ -24,7 +24,7 @@ import("utils.progress") import("core.project.depend") import("core.tool.compiler") -function jar_build(target , fileconfig) +function jar_build(target , fileconfig , opt) local javac = assert(find_tool("javac"), "javac not found!") local jar = assert(find_tool("jar"), "jar not found!") @@ -146,7 +146,7 @@ function main(target, sourcefile, opt) -- jar build local buildjar = target:extraconf("rules", "swig.c", "buildjar") or target:extraconf("rules", "swig.cpp", "buildjar") if moduletype == "java" and buildjar then - jar_build(target) + jar_build(target , fileconfig , opt) end end |
