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
main
Andrew Hsieh 2012-12-21 09:25:56 +08:00
parent 21177c1afe
commit 5fe05eb5a7
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SDK_VERSION := 14 LOCAL_SDK_VERSION := 14
LOCAL_NDK_STL_VARIANT := stlport_static LOCAL_NDK_STL_VARIANT := stlport_static
LOCAL_LDFLAGS += -ldl
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)