From: nbd Date: Tue, 30 Oct 2012 00:45:51 +0000 (+0000) Subject: gdb: depend on zlib if zlib is selected X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=550a8ae8a930637a6585d5acc59e430a6f513f50 gdb: depend on zlib if zlib is selected gdb can read debug informations in produced binaries with compressed debug sections if gdb is compiled with `zlib'. Signed-off-by: Jiri Slachta git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34007 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/devel/gdb/Makefile b/package/devel/gdb/Makefile index 50d12fcbf7..57616d5cd4 100644 --- a/package/devel/gdb/Makefile +++ b/package/devel/gdb/Makefile @@ -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