summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-11-20 06:59:57 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-30 21:56:31 (GMT)
commitb644575579cb7f1fddf4f9c38928606e138ac053 (patch)
tree133f7305a46adaa7e6a1b9dc2d0a222ce4d4a580
parent4b0b177b26f3d3cf785e5c46a3ec963bbfd9cebc (diff)
downloadbuildroot-b644575579cb7f1fddf4f9c38928606e138ac053.tar.gz
buildroot-b644575579cb7f1fddf4f9c38928606e138ac053.tar.bz2
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>
-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 5f9119d..6f81e30 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...