gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat. SVN-Revision: 27859
This commit is contained in:
parent
bd982fb72c
commit
478decc60b
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=gdb
|
PKG_NAME:=gdb
|
||||||
PKG_VERSION:=6.8
|
PKG_VERSION:=6.8
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=@GNU/gdb
|
PKG_SOURCE_URL:=@GNU/gdb
|
||||||
@ -29,7 +29,7 @@ endef
|
|||||||
define Package/gdb
|
define Package/gdb
|
||||||
$(call Package/gdb/Default)
|
$(call Package/gdb/Default)
|
||||||
TITLE:=GNU Debugger
|
TITLE:=GNU Debugger
|
||||||
DEPENDS+=+libreadline +libncurses
|
DEPENDS+=+libreadline +libncurses +PACKAGE_libexpat:libexpat
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gdb/description
|
define Package/gdb/description
|
||||||
@ -51,6 +51,7 @@ endef
|
|||||||
# XXX: add --disable-werror to prevent build failure with arm
|
# XXX: add --disable-werror to prevent build failure with arm
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS+= \
|
||||||
--with-system-readline \
|
--with-system-readline \
|
||||||
|
--without-libexpat-prefix \
|
||||||
--disable-werror
|
--disable-werror
|
||||||
|
|
||||||
CONFIGURE_VARS+= \
|
CONFIGURE_VARS+= \
|
||||||
|
Loading…
Reference in New Issue
Block a user