Merge pull request #764 from marynate/PR-fix-android-build
Fix android build on windows
This commit is contained in:
commit
4ece8e90e0
2 changed files with 2 additions and 1 deletions
|
@ -66,6 +66,6 @@ for x in env.android_module_libraries:
|
||||||
shutil.copy(x,abspath+"/java/libs")
|
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'))
|
#env.Command('#bin/libgodot_android.so', '#platform/android/libgodot_android.so', Copy('bin/libgodot_android.so', 'platform/android/libgodot_android.so'))
|
||||||
|
|
|
@ -61,6 +61,7 @@ def configure(env):
|
||||||
import methods
|
import methods
|
||||||
env.Tool('gcc')
|
env.Tool('gcc')
|
||||||
env['SPAWN'] = methods.win32_spawn
|
env['SPAWN'] = methods.win32_spawn
|
||||||
|
env['SHLIBSUFFIX'] = '.so'
|
||||||
|
|
||||||
# env.android_source_modules.append("../libs/apk_expansion")
|
# env.android_source_modules.append("../libs/apk_expansion")
|
||||||
env.android_source_modules.append("../libs/google_play_services")
|
env.android_source_modules.append("../libs/google_play_services")
|
||||||
|
|
Loading…
Reference in a new issue