Fixed SDL2 and sdl-1.2 version in build files, SDL2 is uppercase but sdl-1.2 is lowercase and the only one who I can blame is myself

This commit is contained in:
Sergii Pylypenko
2022-01-02 01:34:45 +02:00
parent 04fc1e2dbb
commit d84eac20a4
17 changed files with 33 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ LOCAL_CPP_EXTENSION := .cpp
LOCAL_SRC_FILES := $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.cpp))))
LOCAL_SRC_FILES += $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wildcard $(LOCAL_PATH)/$(F)/*.c))))
LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION)
LOCAL_SHARED_LIBRARIES := $(if $(filter 1.2, $(SDL_VERSION)), sdl-1.2, SDL2)
LOCAL_STATIC_LIBRARIES :=