# HG changeset patch # User Sam Lantinga # Date 1371478460 25200 # Node ID 56e66417dcee332acfcd484e40c79abed7caec9a # Parent 439855755e0f475d59e58da0056566a61f99e4ee 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. diff -r 439855755e0f -r 56e66417dcee 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) \