Browse Source

SCons: Restore hardcoded build path on Android

Thaddeus Crews 4 months ago
parent
commit
54278a48e7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      platform/android/SCsub

+ 2 - 1
platform/android/SCsub

@@ -44,7 +44,8 @@ env_thirdparty.disable_warnings()
 thirdparty_obj = env_thirdparty.SharedObject("#thirdparty/misc/ifaddrs-android.cc")
 thirdparty_obj = env_thirdparty.SharedObject("#thirdparty/misc/ifaddrs-android.cc")
 android_objects.append(thirdparty_obj)
 android_objects.append(thirdparty_obj)
 
 
-lib = env_android.add_shared_library("libgodot", android_objects)
+# FIXME: Hardcoded to bin to ensure the directory exists if not redirecting build objects.
+lib = env_android.add_shared_library("#bin/libgodot", android_objects, redirect_build_objects=False)
 
 
 # Needed to force rebuilding the platform files when the thirdparty code is updated.
 # Needed to force rebuilding the platform files when the thirdparty code is updated.
 env.Depends(lib, thirdparty_obj)
 env.Depends(lib, thirdparty_obj)