summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jni/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index a4fb844..e86ec8d 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -9,10 +9,11 @@ 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
-LOCAL_LDFLAGS := -llog -lEGL
-
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libjni_eglfence