summaryrefslogtreecommitdiffstats
path: root/package/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb')
-rw-r--r--package/gdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 879ba3d1c..cf0b9ea25 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -77,6 +77,10 @@ endef
define Package/gdbserver/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/
+ifneq ($(CONFIG_USE_EGLIBC),)
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(TOOLCHAIN_DIR)/lib/libthread_db* $(1)/usr/lib
+endif
endef
$(eval $(call BuildPackage,gdb))