Improved include paths for projects using SDL on Android
authorSam Lantinga <slouken@libsdl.org>
Mon, 17 Jun 2013 07:14:20 -0700
changeset 731156e66417dcee
parent 7310 439855755e0f
child 7312 b36811d7db33
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.
Android.mk
     1.1 --- a/Android.mk	Mon Jun 17 06:35:41 2013 -0700
     1.2 +++ b/Android.mk	Mon Jun 17 07:14:20 2013 -0700
     1.3 @@ -12,6 +12,8 @@
     1.4  
     1.5  LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
     1.6  
     1.7 +LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
     1.8 +
     1.9  LOCAL_SRC_FILES := \
    1.10  	$(subst $(LOCAL_PATH)/,, \
    1.11  	$(wildcard $(LOCAL_PATH)/src/*.c) \