aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 408a2a6e..410ca83e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,6 +32,10 @@
# This allows #includes to be relative to src/
AM_CPPFLAGS = -I$(top_srcdir)/src
+if ANDROID_HOST
+# This allows using fixed NDK headers when building for Android.
+AM_CPPFLAGS += -I$(top_srcdir)/src/common/android/include
+endif
if GCC
# These are good warnings to be treated as errors