aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-03 22:31:09 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-01-03 22:31:09 +0000
commit250fb97d4df635c03ef885abed62a585b2cf4909 (patch)
treebf36f26ba0f4222d7f859133441400587904f14b
parent76bab6bbd7fc1dd6a924a08a1bd62db08c8e7f0e (diff)
for android, need to set include path too
svn path=/trunk/externals/template/; revision=14690
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index af82e49..416316b 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ ifeq ($(UNAME),ANDROID)
NDK_TOOLCHAIN=$(NDK_BASE)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
CC=$(NDK_TOOLCHAIN)/bin/arm-linux-androideabi-gcc
OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
- CFLAGS += -fPIC
+ CFLAGS += -fPIC -I$(NDK_SYSROOT)/usr/include
LDFLAGS += -Wl,--export-dynamic -L$(NDK_SYSROOT)/usr/lib -shared -fPIC
LIBS += -lc
STRIP = strip --strip-unneeded -R .note -R .comment