diff options
author | 2012-12-21 09:25:56 +0800 | |
---|---|---|
committer | 2012-12-21 09:25:56 +0800 | |
commit | 5fe05eb5a751dda4553e527b109851a25969830a (patch) | |
tree | 6a27a30ba11cee912e3ddc49695bfcf58f326978 /native | |
parent | 21177c1afed4c04f436acbd1116568051167c899 (diff) | |
download | latinime-5fe05eb5a751dda4553e527b109851a25969830a.tar.gz latinime-5fe05eb5a751dda4553e527b109851a25969830a.tar.xz latinime-5fe05eb5a751dda4553e527b109851a25969830a.zip |
Add -ldl for new stlport
The new stlport in NDK r8d+ supports exception support via gabi++.
The new gabi++ depends on dlopen, etc, meaning that we need to add -ldl
for project links stlport with "-nostdlib -Wl,--no-undefined"
(ie. all *.so in Android)
Change-Id: I7321a075d2852a6a72f82f40bb24d64ec211cf39
Diffstat (limited to 'native')
-rw-r--r-- | native/jni/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 567648f7a..874d10639 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -95,6 +95,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SDK_VERSION := 14 LOCAL_NDK_STL_VARIANT := stlport_static +LOCAL_LDFLAGS += -ldl include $(BUILD_SHARED_LIBRARY) |