summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-11-20 06:17:23 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-30 21:57:49 (GMT)
commit696365f69bdf6261e8b312f98bdc177754bd5517 (patch)
tree5ca6cdfb21d2a7555029f1dbd915cea7b4ef2c1c
parentb644575579cb7f1fddf4f9c38928606e138ac053 (diff)
downloadbuildroot-696365f69bdf6261e8b312f98bdc177754bd5517.tar.gz
buildroot-696365f69bdf6261e8b312f98bdc177754bd5517.tar.bz2
toolchain-external: fix installation of libthread_db
Whatever the gdbserver source, as long as it's installed on the target, assume it requires libthread_db. Signed-off-by: Richard Braun <rbraun@sceen.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/toolchain-external/ext-tool.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index a6025db..8ce0a84 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -61,7 +61,7 @@ endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIB_EXTERNAL_LIBS+=libpthread.so
-ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
+ifneq ($(BR2_PACKAGE_GDB_SERVER)$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),)
LIB_EXTERNAL_LIBS+=libthread_db.so
endif # gdbserver
endif # ! no threads