mirror of
https://github.com/love2d/love-android.git
synced 2026-08-18 11:44:13 +02:00
Properly using SDL 2.0.9 paths and android 26 compatibility layers.
This commit is contained in:
@@ -18,7 +18,7 @@ LOCAL_C_INCLUDES := \
|
||||
${LOCAL_PATH}/src/libraries/enet/libenet/include \
|
||||
${LOCAL_PATH}/src/libraries/physfs \
|
||||
${LOCAL_PATH}/src/libraries/glslang/glslang/Include \
|
||||
${LOCAL_PATH}/../SDL2-2.0.7/include \
|
||||
${LOCAL_PATH}/../SDL2-2.0.9/include \
|
||||
${LOCAL_PATH}/../jasper-1.900.1/src/libjasper/include \
|
||||
${LOCAL_PATH}/../libmng-1.0.10/ \
|
||||
${LOCAL_PATH}/../lcms2-2.5/include \
|
||||
@@ -118,7 +118,7 @@ LOCAL_STATIC_LIBRARIES := libvorbis libogg libtheora libmodplug libfreetype libl
|
||||
# $(info liblove: include dirs $(LOCAL_C_INCLUDES))
|
||||
# $(info liblove: src files $(LOCAL_SRC_FILES))
|
||||
|
||||
SDL_PATH := ../SDL2-2.0.7
|
||||
SDL_PATH := ../SDL2-2.0.9
|
||||
LOCAL_SRC_FILES += $(SDL_PATH)/src/main/android/SDL_android_main.c
|
||||
LOCAL_LDLIBS := -lz -lGLESv1_CM -lGLESv2 -ldl -landroid
|
||||
LOCAL_LDFLAGS := -Wl,--allow-multiple-definition
|
||||
|
||||
@@ -52,6 +52,7 @@ public class GameActivity extends SDLActivity {
|
||||
"c++_shared",
|
||||
"mpg123",
|
||||
"openal",
|
||||
"hidapi",
|
||||
"love",
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user