Fixed OpenAL not linking with SDL2

This commit is contained in:
Sergii Pylypenko
2022-01-03 00:06:17 +02:00
parent dd57a9afbd
commit 466c97d06f
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ LOCAL_MODULE := openal
APP_SUBDIRS := $(patsubst $(LOCAL_PATH)/%, %, $(shell find $(LOCAL_PATH)/src -type d))
LOCAL_C_INCLUDES := $(foreach D, $(APP_SUBDIRS), $(LOCAL_PATH)/$(D)) $(LOCAL_PATH)/include
LOCAL_CFLAGS := -O3 -DHAVE_CONFIG_H -DAL_ALEXT_PROTOTYPES
LOCAL_CFLAGS := -O3 -DHAVE_CONFIG_H -DAL_ALEXT_PROTOTYPES $(if $(filter 1.2, $(SDL_VERSION)), -DAL_SDL_ONPAUSE_CALLBACK)
LOCAL_CPP_EXTENSION := .cpp