summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2010-05-28 23:23:20 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-28 23:31:39 +0200
commit1f39e6e2063b9314b7224161d366cc44d5819e9a (patch)
treef30cbcf0fcecf4e6ff66124126cfb5af32dba597
parentb6e67cc3639937c45e0b7e25f830792854dd4ffb (diff)
downloadbuildroot-novena-1f39e6e2063b9314b7224161d366cc44d5819e9a.tar.gz
buildroot-novena-1f39e6e2063b9314b7224161d366cc44d5819e9a.zip
external toolchain: also copy the libthread_db.so for gdbserver
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@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/external-toolchain/ext-tool.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk
index e858edb8c..8daae15ae 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)
EXTERNAL_LIBS+=libpthread.so
+ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
+EXTERNAL_LIBS+=libthread_db.so
+endif # gdbserver
endif # ! no threads
# SYSROOT_DIR selection. We first try the -print-sysroot option,