gdb: depend on zlib if zlib is selected
authorFelix Fietkau <nbd@openwrt.org>
Tue, 30 Oct 2012 00:45:51 +0000 (00:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 30 Oct 2012 00:45:51 +0000 (00:45 +0000)
gdb can read debug informations in produced binaries with compressed debug sections if gdb is compiled with `zlib'.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 34007

package/devel/gdb/Makefile

index 50d12fcbf7a5ec9ed76f49bdd11e7ba059e9ee7c..57616d5cd4267b3f9f194682ac900e35713410af 100644 (file)
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/gdb/Default
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=@!(avr32||cris) +libthread-db
+  DEPENDS:=@!(avr32||cris) +libthread-db +PACKAGE_zlib:zlib
   URL:=http://www.gnu.org/software/gdb/
 endef