package/gdb: gdb+expat build fix
authorDoug Kehn <rdkehn@yahoo.com>
Mon, 15 Jun 2015 21:55:19 +0000 (16:55 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Jun 2015 07:50:00 +0000 (09:50 +0200)
commit76e176a0752965410ab84598625cee48bd97d9cf
tree522dfed3c74c5c7d5861ca246b077eba251863cb
parent0a500e6af79c9c899f8839cbc00479d664e75478
package/gdb: gdb+expat build fix

Commit 23413b51b2308225584b65c2fcd800ca8f7c56af added --with-expat
configure option and expat dependency when BR2_PACKAGE_EXPAT is
configured.  When cross-compiling, gdb configure fails because the host
system libexpat is referenced.

Configuring gdb with
--with-libexpat-prefix=$(STAGING_DIR)/usr
fixes the reference and allows gdb to build successfully.

Tested with arm-buildroot-linux-gnueabihf toolchain.

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/gdb.mk