From: Richard Braun Date: Tue, 20 Nov 2012 06:59:57 +0000 (+0000) Subject: toolchain-crosstool-ng: install libthread_db if appropriate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b644575579cb7f1fddf4f9c38928606e138ac053;p=buildroot.git toolchain-crosstool-ng: install libthread_db if appropriate Signed-off-by: Richard Braun Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk index 5f9119d579..6f81e30cde 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...