Improved include paths for projects using SDL on Android
Isaac Burns I wanted to suggest a few changes I've found that help the Android build. By adding LOCAL_EXPORT_C_INCLUDES to the Android.mk file, anything that references the SDL Android project will inherit the include paths.
This commit is contained in:
parent
cfd8d8141d
commit
46487bd122
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ LOCAL_MODULE := SDL2
|
|||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
$(subst $(LOCAL_PATH)/,, \
|
||||
$(wildcard $(LOCAL_PATH)/src/*.c) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue