summaryrefslogtreecommitdiff
path: root/android/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'android/jni/Android.mk')
-rw-r--r--android/jni/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/jni/Android.mk b/android/jni/Android.mk
index 2e84204e..91fface9 100644
--- a/android/jni/Android.mk
+++ b/android/jni/Android.mk
@@ -18,5 +18,8 @@ LOCAL_SRC_FILES := mupdf.c
LOCAL_STATIC_LIBRARIES := mupdfcore mupdfthirdparty
LOCAL_LDLIBS := -lm -llog -ljnigraphics
+ifdef V8_BUILD
+LOCAL_LDLIBS += -L$(MUPDF_ROOT)/thirdparty/v8-3.9/android -lv8_base -lv8_snapshot
+endif
include $(BUILD_SHARED_LIBRARY)