Make all platforms build properly

This commit is contained in:
topjohnwu
2024-02-24 05:10:54 -08:00
parent 66f49dfab5
commit 0dbaf52566
4 changed files with 36 additions and 16 deletions

View File

@ -241,7 +241,6 @@ 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!")