summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbinLep <[email protected]>2026-02-24 16:46:12 +0800
committerGitHub <[email protected]>2026-02-24 16:46:12 +0800
commite03914ab599006617e7bc89ebe0e6c01f77b72d8 (patch)
treecfaef8c47351cc0ae0e7772d5671572f15c8e4c7
parentea307e0b88527bc61864766c16dfd346470b2d80 (diff)
[fix] swig jar package module
-rw-r--r--xmake/rules/swig/build_module_file.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua
index c3f15439c..a8a678cf7 100644
--- a/xmake/rules/swig/build_module_file.lua
+++ b/xmake/rules/swig/build_module_file.lua
@@ -70,7 +70,7 @@ function jar_build(target, fileconfig, opt)
-- generate jar file
progress.show(opt.progress, "${color.build.object}compiling.jar %s", target:name() .. ".jar")
- os.vrunv(jar.program, {"-cf", path.join(java_src_dir, target:name() .. ".jar"), java_class_dir})
+ os.vrunv(jar.program, {"-cf", path.join(java_src_dir, target:name() .. ".jar"), "-C", java_class_dir, "."})
os.tryrm(filelistname)
end