X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fgdb%2FMakefile;h=cf0b9ea2530688da2e9adaa65afaef1609af2bb0;hp=879ba3d1c8bdbd4b0972216daaf696fb3ab1e5f4;hb=9b51918277ea81afd19abccc988201bf088199f6;hpb=71bf514a80d7dfe63e484e9cea8ff0f6e024ba18;ds=sidebyside 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))