xfsprogs: fix shared-only build
authorRomain Naour <romain.naour@openwide.fr>
Tue, 16 Dec 2014 21:40:53 +0000 (22:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Dec 2014 20:44:25 +0000 (21:44 +0100)
commita434dac30dab40ed64a778d2cbbc6b8df237f3ff
treee7a9bb803d633e3491defea5949eca48a9cec19b
parente787c333e4649d28dc9c00f9b87fb39b4892bcd0
xfsprogs: fix shared-only build

The shared-only build is not supported by xfsprogs because without
--enable-static, the builtin libraries (libxfs, libxcmd ...)  are only
built as shared libraries and xfs tools requires the static ones.

Also, we needs to replace -static with -static-libtool-libs for the
shared-only case, in order to fallback to linking with the shared
version of libuuid library.

Fixes:
http://autobuild.buildroot.net/results/139/139fa30756d35a24209136068c818802074908de/
http://autobuild.buildroot.net/results/e2e/e2eef5dbadec555756a912a24978c78c0013ee70/
http://autobuild.buildroot.net/results/08c/08c4bc5037379a8ca312e3e7574067235da74030/

And many more.

[Thomas: fix misc typos in the patch description and commit title.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xfsprogs/0001-xfsprogs-replaces-static-with-static-libtool-libs.patch [new file with mode: 0644]
package/xfsprogs/xfsprogs.mk