Android.mk
changeset 11429 424d7476f72d
parent 11262 8e5441ab6c63
child 11532 4af4e3986438
equal deleted inserted replaced
11428:befae2925565 11429:424d7476f72d
    59 
    59 
    60 LOCAL_MODULE := SDL2_static
    60 LOCAL_MODULE := SDL2_static
    61 
    61 
    62 LOCAL_MODULE_FILENAME := libSDL2
    62 LOCAL_MODULE_FILENAME := libSDL2
    63 
    63 
    64 LOCAL_SRC_FILES += $(subst $(LOCAL_PATH)/,,$(LOCAL_PATH)/src/main/android/SDL_android_main.c)
       
    65 
       
    66 LOCAL_LDLIBS := 
    64 LOCAL_LDLIBS := 
    67 LOCAL_EXPORT_LDLIBS := -Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    65 LOCAL_EXPORT_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
    68 
    66 
    69 include $(BUILD_STATIC_LIBRARY)
    67 include $(BUILD_STATIC_LIBRARY)
    70 
    68 
    71 ###########################
    69 ###########################
    72 #
    70 #
    80 
    78 
    81 LOCAL_MODULE := SDL2_main
    79 LOCAL_MODULE := SDL2_main
    82 
    80 
    83 LOCAL_MODULE_FILENAME := libSDL2main
    81 LOCAL_MODULE_FILENAME := libSDL2main
    84 
    82 
    85 LOCAL_SRC_FILES := $(LOCAL_PATH)/src/main/android/SDL_android_main.c
       
    86 
       
    87 include $(BUILD_STATIC_LIBRARY)
    83 include $(BUILD_STATIC_LIBRARY)
    88 
    84 
    89 
    85