summaryrefslogtreecommitdiffstats
path: root/libthread_db
diff options
context:
space:
mode:
authorAntti Hatala <ahatala@nvidia.com>2010-09-02 04:27:18 -0700
committerRebecca Schultz Zavin <rebecca@android.com>2010-09-02 14:00:59 -0700
commit94962b9c9cce58ce37c8cc7e5e89205f1d9689bd (patch)
treea9b6d611a5fa9c26e9e57cd6cc2abe1b8245441d /libthread_db
parentdb0017e5e2c167f6dfe0f95ad02063970d95e37d (diff)
downloadbionic-94962b9c9cce58ce37c8cc7e5e89205f1d9689bd.zip
bionic-94962b9c9cce58ce37c8cc7e5e89205f1d9689bd.tar.gz
bionic-94962b9c9cce58ce37c8cc7e5e89205f1d9689bd.tar.bz2
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
Diffstat (limited to 'libthread_db')
-rw-r--r--libthread_db/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libthread_db/Android.mk b/libthread_db/Android.mk
index 3091bbc..922b9cf 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