Android.mk
changeset 7804 1f85fb33694b
parent 7793 6463a850229d
child 8097 d4e916b1c135
equal deleted inserted replaced
7803:97a1127629fb 7804:1f85fb33694b
    47 
    47 
    48 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
    48 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
    49 LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    49 LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    50 
    50 
    51 include $(BUILD_SHARED_LIBRARY)
    51 include $(BUILD_SHARED_LIBRARY)
       
    52 
       
    53 ###########################
       
    54 #
       
    55 # SDL static library
       
    56 #
       
    57 ###########################
       
    58 
       
    59 LOCAL_MODULE := SDL2_static
       
    60 
       
    61 LOCAL_MODULE_FILENAME := libSDL2
       
    62 
       
    63 LOCAL_SRC_FILES += $(LOCAL_PATH)/src/main/android/SDL_android_main.c
       
    64 
       
    65 LOCAL_LDLIBS := 
       
    66 LOCAL_EXPORT_LDLIBS := -Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
       
    67 
       
    68 include $(BUILD_STATIC_LIBRARY)