[Buildroot] [git commit master] external toolchain: also copy the libthread_db.so for gdbserver

Peter Korsgaard jacmet at sunsite.dk
Fri May 28 21:31:39 UTC 2010

commit: http://git.buildroot.net/buildroot/commit/?id=1f39e6e2063b9314b7224161d366cc44d5819e9a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

gdbserver dlopen(3)s libthread_db.so at runtime, so there is no
dependency on it (does not appear as being (NEEDED)).

Copy libthread_db.so from external toolchain when gdbserver is enbled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 toolchain/external-toolchain/ext-tool.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk
index e858edb..8daae15 100644
--- a/toolchain/external-toolchain/ext-tool.mk
+++ b/toolchain/external-toolchain/ext-tool.mk
@@ -264,6 +264,9 @@ endif
 ifneq ($(BR2_PTHREADS_NONE),y)
+endif # gdbserver
 endif # ! no threads
 # SYSROOT_DIR selection. We first try the -print-sysroot option,

More information about the buildroot mailing list