[openwrt/openwrt] gdb: Make only full gdb depend on libgmp

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 7 09:35:24 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/71af55ae2a9f5de71041936502c6a631349f33a7

commit 71af55ae2a9f5de71041936502c6a631349f33a7
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 7 17:15:06 2021 +0100

    gdb: Make only full gdb depend on libgmp
    
    libgmp is only needed for the full gdb and not for the gdbserver
    application.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/devel/gdb/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile
index f474502869..24569634a9 100644
--- a/package/devel/gdb/Makefile
+++ b/package/devel/gdb/Makefile
@@ -26,14 +26,14 @@ include $(INCLUDE_DIR)/nls.mk
 define Package/gdb/Default
   SECTION:=devel
   CATEGORY:=Development
-  DEPENDS:=+!USE_MUSL:libthread-db $(ICONV_DEPENDS) $(INTL_DEPENDS) +libgmp
+  DEPENDS:=+!USE_MUSL:libthread-db $(ICONV_DEPENDS) $(INTL_DEPENDS)
   URL:=https://www.gnu.org/software/gdb/
 endef
 
 define Package/gdb
 $(call Package/gdb/Default)
   TITLE:=GNU Debugger
-  DEPENDS+=+libreadline +libncurses +zlib
+  DEPENDS+=+libreadline +libncurses +zlib +libgmp
 endef
 
 define Package/gdb/description



More information about the lede-commits mailing list