Improved include paths for projects using SDL on Android
authorSam Lantinga <slouken@libsdl.org>
Mon, 17 Jun 2013 07:14:20 -0700
changeset 7311 56e66417dcee
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
--- a/Android.mk	Mon Jun 17 06:35:41 2013 -0700
+++ b/Android.mk	Mon Jun 17 07:14:20 2013 -0700
@@ -12,6 +12,8 @@
 
 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
 
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
+
 LOCAL_SRC_FILES := \
 	$(subst $(LOCAL_PATH)/,, \
 	$(wildcard $(LOCAL_PATH)/src/*.c) \