package/parted: fix static link
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 30 Nov 2014 22:31:37 +0000 (23:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 30 Nov 2014 23:18:46 +0000 (00:18 +0100)
commit6ed317672c2f335985f3cd07c042842795406e09
tree3a16d6690d3c5d963da7fad9b761ebd858c687f2
parenta535a0eada223a0eb8b2421ebe4a4246bb714b74
package/parted: fix static link

libuuid needs to be linked with -lintl when gettext is needed (with
locales).

For a shared build, this is solved with the DT_NEEDED ELF tags, but for
a static link, it is not pulled in automatically.

Use pkg-config to find libuuid, instead of AC_CHECK_LIB().

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

[Peter: add host-pkgconf to _DEPENDENCIES]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/parted/parted-003-fix-static-link-uuid.patch [new file with mode: 0644]
package/parted/parted.mk