package/util-linux: libuuid needs -lintl
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 30 Nov 2014 22:31:36 +0000 (23:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 30 Nov 2014 23:12:46 +0000 (00:12 +0100)
commita535a0eada223a0eb8b2421ebe4a4246bb714b74
tree8186f2343e5133a53233e1eee536caf4c7ae985a
parentac1ac9e628a405e62e4eccb12010c3e364ed1053
package/util-linux: libuuid needs -lintl

When gettext is needed (with locales), libuuid needs to be linked
against -lintl.

In dynamic link, this is solved via the DT_NEEDED ELF tag, but for
static links, it does not get pulled in automatically.

Fix that by adding a Libs.private section to uuid.pc, but only if
it needed.

First part at fixing:
    http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/util-linux/util-linux.mk