This commit is contained in:
ssrlive 2024-05-23 21:27:42 +08:00
parent e6360d83a7
commit d062b1b66a
5 changed files with 5 additions and 5 deletions

View file

@ -92,7 +92,7 @@ function build_android() {
cp $BASE/target/$target/${mode2}/lib${name}.so $android_libs/${target_dir}/lib${name}.so
done
cbindgen -c $BASE/cbindgen.toml -l C -o $android_libs/$name.h
cbindgen -c $BASE/cbindgen.toml -l C --cpp-compat -o $android_libs/$name.h
}
function main() {