Skip to content

Commit 0965338

Browse files
committed
link against libnativehelper.so from Android 2.2 AVD
1 parent 320a68c commit 0965338

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jni/Android.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ LOCAL_SHARED_LIBRARIES := \
4646

4747
LOCAL_CFLAGS += -U__APPLE__
4848
LOCAL_LDFLAGS += -L../obj/local/armeabi/
49-
LOCAL_LDLIBS += -ldl -llog -lsqlcipher
49+
# libnativehelper is included with Android but not the NDK
50+
LOCAL_LDLIBS += -ldl -llog -lnativehelper -lsqlcipher
5051

5152
ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
5253
LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK

0 commit comments

Comments
 (0)