Fix Android build
This commit is contained in:
parent
3120f5fb08
commit
a01d6ec490
2 changed files with 2 additions and 3 deletions
|
@ -10,6 +10,5 @@ package rl
|
|||
#cgo android CFLAGS: -DPLATFORM_ANDROID -DGRAPHICS_API_OPENGL_ES2 -Iexternal/android/native_app_glue -Wno-implicit-const-int-float-conversion
|
||||
|
||||
#cgo android,arm CFLAGS: -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16
|
||||
#cgo android,arm64 CFLAGS: -target aarch64 -mfix-cortex-a53-835769
|
||||
*/
|
||||
import "C"
|
||||
|
|
|
@ -11,8 +11,8 @@ package rl
|
|||
|
||||
extern void android_init();
|
||||
|
||||
AAssetManager* asset_manager;
|
||||
const char* internal_storage_path;
|
||||
extern AAssetManager* asset_manager;
|
||||
extern const char* internal_storage_path;
|
||||
*/
|
||||
import "C"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue