summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-crosstool-ng
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-11-20 06:59:57 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-30 13:56:31 -0800
commitb644575579cb7f1fddf4f9c38928606e138ac053 (patch)
tree133f7305a46adaa7e6a1b9dc2d0a222ce4d4a580 /toolchain/toolchain-crosstool-ng
parent4b0b177b26f3d3cf785e5c46a3ec963bbfd9cebc (diff)
downloadbuildroot-novena-b644575579cb7f1fddf4f9c38928606e138ac053.tar.gz
buildroot-novena-b644575579cb7f1fddf4f9c38928606e138ac053.zip
toolchain-crosstool-ng: install libthread_db if appropriate
Signed-off-by: Richard Braun <rbraun@sceen.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-crosstool-ng')
-rw-r--r--toolchain/toolchain-crosstool-ng/crosstool-ng.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 5f9119d57..6f81e30cd 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -41,6 +41,10 @@ uclibc-source: $(CTNG_DIR)/.config
CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so \
libnsl.so libpthread.so libresolv.so librt.so libutil.so
+ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
+CTNG_LIBS_LIB += libthread_db.so
+endif
+
#--------------
# The libc-specific system libraries (in /lib)
# Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...