Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Improved include paths for projects using SDL on Android
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Jun 17, 2013
1 parent f56fb74 commit 87c7151
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Android.mk
Expand Up @@ -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) \
Expand Down

0 comments on commit 87c7151

Please sign in to comment.