Fix Android build on macOS.

This commit is contained in:
bruvzg
2022-11-07 13:03:54 +02:00
parent ce3c08359a
commit 6e7a24d390
2 changed files with 5 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ def generate(env):
toolchain += "linux-x86_64"
elif sys.platform == "darwin":
toolchain += "darwin-x86_64"
env.Append(LINKFLAGS=["-shared"])
env.PrependENVPath("PATH", toolchain + "/bin") # This does nothing half of the time, but we'll put it here anyways
# Get architecture info