summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-07 13:03:54 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-10 15:20:15 +0200
commit6e7a24d390edd839dc43369a4d8aebd99e483d18 (patch)
treec31a814c28a71bc2013ef42d9b0b3905b594bc31 /tools
parentce3c08359a1aef24bc438ac1c7bb18f2820aed81 (diff)
downloadredot-cpp-6e7a24d390edd839dc43369a4d8aebd99e483d18.tar.gz
Fix Android build on macOS.
Diffstat (limited to 'tools')
-rw-r--r--tools/android.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/android.py b/tools/android.py
index 720ff2d..b9077f5 100644
--- a/tools/android.py
+++ b/tools/android.py
@@ -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