summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-07-19 17:56:47 (GMT)
committerJean-Baptiste Queru <jbq@google.com>2012-07-19 18:22:05 (GMT)
commit6e72ddc6f3cf3293428b45f574f79dbe4160b70d (patch)
treeb1c4850c1661d98e48771c1e28552888d2dec4ef
parent8078dd58ecc9d677199fcf968ab0db746c4a80d9 (diff)
downloadandroid_packages_apps_Snap-6e72ddc6f3cf3293428b45f574f79dbe4160b70d.zip
android_packages_apps_Snap-6e72ddc6f3cf3293428b45f574f79dbe4160b70d.tar.gz
android_packages_apps_Snap-6e72ddc6f3cf3293428b45f574f79dbe4160b70d.tar.bz2
Fix non-ARM builds - use the proper way to reference libraries
Change-Id: Ibd84af84861d1cbaa8203e4b287cb20f5e9027a0
-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