pv: fix minisetlocale related build failure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Feb 2014 22:11:55 +0000 (23:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 20 Feb 2014 22:23:47 +0000 (23:23 +0100)
commitc2d4af6e03cb73187c37c13b71289cb62c3ae0b4
tree16bbf56bd13026c1e7a5f4ec5d5cd34cd0e68d23
parentfaed40cf1dd378e764c8c202f9e4652ff845b148
pv: fix minisetlocale related build failure

pv configure script is somewhat stupid: if it cannot find the host
gettext tool msgfmt, it concludes that gettext is not available, and
provides its own minimal version. Unfortunately, this minimal version
conflicts with the available target gettext. We fix this by ensuring
that host-gettext is built if gettext support is enabled, by adding it
to the dependencies.

Fixes:

  http://autobuild.buildroot.org/results/d30/d30db79190f2cf8953751d55a5d34644f60daec4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pv/pv.mk