From 94962b9c9cce58ce37c8cc7e5e89205f1d9689bd Mon Sep 17 00:00:00 2001 From: Antti Hatala Date: Thu, 2 Sep 2010 04:27:18 -0700 Subject: [PATCH] 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 --- libthread_db/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libthread_db/Android.mk b/libthread_db/Android.mk index 3091bbc3f..922b9cf1b 100644 --- a/libthread_db/Android.mk +++ b/libthread_db/Android.mk @@ -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