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:
parent
db0017e5e2
commit
94962b9c9c
@ -21,7 +21,7 @@ include $(CLEAR_VARS)
|
|||||||
|
|
||||||
LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db
|
LOCAL_WHOLE_STATIC_LIBRARIES := libthread_db
|
||||||
LOCAL_MODULE:=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
|
# 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
|
# gdbserver and is resolved at runtime. Since there is no library containing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user