aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/gdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index 879ba3d1c8..cf0b9ea253 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))