Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Sep 6, 2024
1 parent 7468fb7 commit df261ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions maadeps/runtime_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,18 @@ def install_runtime(target, debug):

print("Installing libc++_shared.so for Android")
android_ndk = os.environ.get("ANDROID_NDK_HOME", "/opt/android-ndk")
# if windows:

if sys.platform == "win32" or sys.platform == "cygwin":
host = "windows-x86_64"
elif sys.platform == "linux":
host = "linux-x86_64"
elif sys.platform == "darwin":
host = "darwin-x86_64"

if "arm" in triplet:
runtime = "arm-linux-androideabi"
elif "arm64" in triplet:
if "arm64" in triplet:
runtime = "aarch64-linux-android"
elif "arm" in triplet:
runtime = "arm-linux-androideabi"
elif "x64" in triplet:
runtime = "x86_64-linux-android"

Expand Down

0 comments on commit df261ff

Please sign in to comment.