1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 10:39:48 +03:00

gdb: add dependency to libexpat when present

Also prevent gdb from trying to link against the host's libexpat.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27859 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo 2011-08-01 09:32:01 +00:00
parent 00f532fbfc
commit 4371be6c65

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gdb
PKG_VERSION:=6.8
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/gdb
@ -29,7 +29,7 @@ endef
define Package/gdb
$(call Package/gdb/Default)
TITLE:=GNU Debugger
DEPENDS+=+libreadline +libncurses
DEPENDS+=+libreadline +libncurses +PACKAGE_libexpat:libexpat
endef
define Package/gdb/description
@ -51,6 +51,7 @@ endef
# XXX: add --disable-werror to prevent build failure with arm
CONFIGURE_ARGS+= \
--with-system-readline \
--without-libexpat-prefix \
--disable-werror
CONFIGURE_VARS+= \