From: Richard Braun Date: Tue, 20 Nov 2012 06:17:23 +0000 (+0000) Subject: toolchain-external: fix installation of libthread_db X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=696365f69bdf6261e8b312f98bdc177754bd5517;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk index a6025dbdd9..8ce0a84727 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