Fix libthread_db linkage

libthread_db depends on libc but since unresolved symbols were allowed
in the makefile this problem was never realized until gdbserver tried
to link with it, failing in the runtime.

Change-Id: If2ee319a2503c81abf3010829444f920c7c0c227
This commit is contained in:
Antti Hatala 2010-09-02 04:27:18 -07:00 committed by Rebecca Schultz Zavin
parent db0017e5e2
commit 94962b9c9c

View File

@ -21,7 +21,7 @@ include $(CLEAR_VARS)
LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db
LOCAL_MODULE:=libthread_db
LOCAL_SHARED_LIBRARIES := libdl
LOCAL_SHARED_LIBRARIES := libdl libc
# NOTE: Using --no-undefined results in a missing symbol that is defined inside
# gdbserver and is resolved at runtime. Since there is no library containing