From 1c6dcee4655a356d2b39928f65164c67a18d0660 Mon Sep 17 00:00:00 2001 From: marynate Date: Wed, 8 Oct 2014 14:37:04 +0800 Subject: [PATCH] Fix android build on windows --- platform/android/SCsub | 2 +- platform/android/detect.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/android/SCsub b/platform/android/SCsub index 3c55b993efa..cffec5ae952 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -66,6 +66,6 @@ for x in env.android_module_libraries: shutil.copy(x,abspath+"/java/libs") -env_android.SharedLibrary("#bin/libgodot_android",[android_objects],SHLIBSUFFIX=env["SHLIBSUFFIX"]) +env_android.SharedLibrary("#bin/libgodot",[android_objects],SHLIBSUFFIX=env["SHLIBSUFFIX"]) #env.Command('#bin/libgodot_android.so', '#platform/android/libgodot_android.so', Copy('bin/libgodot_android.so', 'platform/android/libgodot_android.so')) diff --git a/platform/android/detect.py b/platform/android/detect.py index 062cc62b52d..417f3e68ab1 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -61,6 +61,7 @@ def configure(env): import methods env.Tool('gcc') env['SPAWN'] = methods.win32_spawn + env['SHLIBSUFFIX'] = '.so' # env.android_source_modules.append("../libs/apk_expansion") env.android_source_modules.append("../libs/google_play_services")