diff options
author | Sam Lantinga <slouken@libsdl.org> | 2013-06-17 07:14:20 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2013-06-17 07:14:20 -0700 |
commit | 65098c013a77f98e6a12cfd2200b200555746181 (patch) | |
tree | cd6f60ef058b58646754a49297cacb0472cadb72 /Android.mk | |
parent | 765ba6cfd76159f52c02db26b53f63f300ddf5c9 (diff) |
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.
Diffstat (limited to 'Android.mk')
-rwxr-xr-x | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index a344a52944..8fb4cfc7d5 100755 --- a/Android.mk +++ b/Android.mk @@ -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) \ |