diff options
author | Jonas Gorski <jogo@openwrt.org> | 2011-08-01 09:32:01 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2011-08-01 09:32:01 +0000 |
commit | 478decc60bb34144cc60b61c27378d8b0a0dce9b (patch) | |
tree | acbf9e8ca4f5ecd6e524a89b93612bc4a64a2e84 /package/gdb/Makefile | |
parent | bd982fb72c2636ccdbd559861f5c7ee60a7d60f9 (diff) | |
download | mtk-20170518-478decc60bb34144cc60b61c27378d8b0a0dce9b.zip mtk-20170518-478decc60bb34144cc60b61c27378d8b0a0dce9b.tar.gz mtk-20170518-478decc60bb34144cc60b61c27378d8b0a0dce9b.tar.bz2 |
gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat.
SVN-Revision: 27859
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r-- | package/gdb/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 671340d..e3cd686 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -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+= \ |