2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 07:05:11 +00:00

Add all missing syscalls

This commit is contained in:
topjohnwu
2024-02-23 14:35:12 -08:00
parent c865d4e187
commit 2ec29ade79
4 changed files with 193 additions and 2 deletions

View File

@@ -241,6 +241,7 @@ def clean_elf():
def run_ndk_build(flags):
os.chdir("native")
flags = "NDK_PROJECT_PATH=. NDK_APPLICATION_MK=src/Application.mk " + flags
cpu_count = 1
proc = system(f"{ndk_build} {flags} -j{cpu_count}")
if proc.returncode != 0:
error("Build binary failed!")