summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jni/Android.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index e86ec8d..593074f 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -9,11 +9,15 @@ LOCAL_SRC_FILES := jni_egl_fence.cpp
ifeq ($(TARGET_ARCH), arm)
LOCAL_NDK_VERSION := 5
LOCAL_SDK_VERSION := 9
- LOCAL_LDFLAGS := -llog -lEGL
-else
- LOCAL_SHARED_LIBRARIES := liblog libEGL
endif
+ifeq ($(TARGET_ARCH), x86)
+ LOCAL_NDK_VERSION := 6
+ LOCAL_SDK_VERSION := 9
+endif
+
+LOCAL_LDFLAGS := -llog -lEGL
+
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjni_eglfence