mirror of
https://github.com/topjohnwu/Magisk
synced 2025-09-02 21:35:12 +00:00
Fix build script
This commit is contained in:
1
build.py
1
build.py
@@ -239,6 +239,7 @@ def run_ndk_build(flags):
|
|||||||
def run_cargo_build(args):
|
def run_cargo_build(args):
|
||||||
os.chdir(op.join("native", "src"))
|
os.chdir(op.join("native", "src"))
|
||||||
native_out = op.join("..", "out")
|
native_out = op.join("..", "out")
|
||||||
|
mkdir(native_out)
|
||||||
|
|
||||||
targets = set(args.target) & set(rust_targets)
|
targets = set(args.target) & set(rust_targets)
|
||||||
if "resetprop" in args.target:
|
if "resetprop" in args.target:
|
||||||
|
Reference in New Issue
Block a user