[waffle] [PATCH] Android: fix examples/gl_basic for android
Juha-Pekka Heikkila
juha-pekka.heikkila at linux.intel.com
Fri Sep 20 00:59:59 PDT 2013
Android.mk needed few path changes and -c99 flag to allow
examples/gl_basic to be compiled for android.
Signed-off-by: Juha-Pekka Heikkila <juha-pekka.heikkila at linux.intel.com>
---
examples/Android.mk | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/examples/Android.mk b/examples/Android.mk
index 9ae3994..fc11e82 100644
--- a/examples/Android.mk
+++ b/examples/Android.mk
@@ -7,13 +7,14 @@ LOCAL_MODULE:= gl_basic
LOCAL_CFLAGS:= \
-DANDROID_STUB \
-DWAFFLE_HAS_ANDROID \
+ -std=c99 \
-LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include/
-LOCAL_C_INCLUDES += $(LOCAL_PATH)/../src/
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include/waffle/
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/../src/waffle/
LOCAL_SRC_FILES:= \
gl_basic.c \
-LOCAL_SHARED_LIBRARIES := libwaffle
+LOCAL_SHARED_LIBRARIES := libwaffle-1
include $(BUILD_EXECUTABLE)
--
1.8.1.2
More information about the waffle
mailing list