summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index eedfa0b..a4fb844 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -6,11 +6,15 @@ LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES
LOCAL_SRC_FILES := jni_egl_fence.cpp
-LOCAL_SHARED_LIBRARIES := libcutils libEGL
+ifeq ($(TARGET_ARCH), arm)
+ LOCAL_NDK_VERSION := 5
+ LOCAL_SDK_VERSION := 9
+endif
+
+LOCAL_LDFLAGS := -llog -lEGL
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjni_eglfence
include $(BUILD_SHARED_LIBRARY)
-