Skip to content
Permalink
Browse files

Fixed bug 3789 - Android : small clean up

Sylvain

Since https://hg.libsdl.org/SDL/rev/6546daa45a02
SDL_android_main.c is empty and then produce a warning
nativeInit does not exist and dont need to be mark undefined
  • Loading branch information
slouken committed Aug 30, 2017
1 parent b5f31c3 commit 347fe704320077683c6df4b30fe101e2eb22698b

File 1 of 3 in 347fe70

@@ -61,10 +61,8 @@ LOCAL_MODULE := SDL2_static

LOCAL_MODULE_FILENAME := libSDL2

LOCAL_SRC_FILES += $(subst $(LOCAL_PATH)/,,$(LOCAL_PATH)/src/main/android/SDL_android_main.c)

LOCAL_LDLIBS :=
LOCAL_EXPORT_LDLIBS := -Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit -ldl -lGLESv1_CM -lGLESv2 -llog -landroid
LOCAL_EXPORT_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog -landroid

include $(BUILD_STATIC_LIBRARY)

@@ -82,8 +80,6 @@ LOCAL_MODULE := SDL2_main

LOCAL_MODULE_FILENAME := libSDL2main

LOCAL_SRC_FILES := $(LOCAL_PATH)/src/main/android/SDL_android_main.c

include $(BUILD_STATIC_LIBRARY)


0 comments on commit 347fe70

Please sign in to comment.