gdb: Make only full gdb depend on libgmp
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Nov 2021 16:15:06 +0000 (17:15 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Nov 2021 17:32:21 +0000 (18:32 +0100)
libgmp is only needed for the full gdb and not for the gdbserver
application.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/devel/gdb/Makefile

index f4745028695e7eb0215c3563c8f8b1afc0e6f197..24569634a9c16114138bc65792ca34224fdb56dc 100644 (file)
@@ -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