There was an error while loading. Please reload this page.
1 parent 1c19d62 commit 70dded9Copy full SHA for 70dded9
tools/android.py
@@ -64,6 +64,12 @@ def generate(env):
64
elif sys.platform == "darwin":
65
toolchain += "darwin-x86_64"
66
env.Append(LINKFLAGS=["-shared"])
67
+
68
+ if not os.path.exists(toolchain):
69
+ print("ERROR: Could not find NDK toolchain at " + toolchain + ".")
70
+ print("Make sure NDK version " + get_ndk_version() + " is installed.")
71
+ env.Exit(1)
72
73
env.PrependENVPath("PATH", toolchain + "/bin") # This does nothing half of the time, but we'll put it here anyways
74
75
# Get architecture info
0 commit comments