Android.mk
changeset 11262 8e5441ab6c63
parent 11238 c728c661cec7
child 11429 424d7476f72d
     1.1 --- a/Android.mk	Sun Aug 13 14:15:52 2017 -0700
     1.2 +++ b/Android.mk	Sun Aug 13 17:59:59 2017 -0700
     1.3 @@ -67,3 +67,23 @@
     1.4  LOCAL_EXPORT_LDLIBS := -Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
     1.5  
     1.6  include $(BUILD_STATIC_LIBRARY)
     1.7 +
     1.8 +###########################
     1.9 +#
    1.10 +# SDL main static library
    1.11 +#
    1.12 +###########################
    1.13 +
    1.14 +include $(CLEAR_VARS)
    1.15 +
    1.16 +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
    1.17 +
    1.18 +LOCAL_MODULE := SDL2_main
    1.19 +
    1.20 +LOCAL_MODULE_FILENAME := libSDL2main
    1.21 +
    1.22 +LOCAL_SRC_FILES := $(LOCAL_PATH)/src/main/android/SDL_android_main.c
    1.23 +
    1.24 +include $(BUILD_STATIC_LIBRARY)
    1.25 +
    1.26 +