aboutsummaryrefslogtreecommitdiff
path: root/package/xfsprogs/xfsprogs.mk
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-12-16 22:40:53 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-20 21:44:25 +0100
commita434dac30dab40ed64a778d2cbbc6b8df237f3ff (patch)
treee7a9bb803d633e3491defea5949eca48a9cec19b /package/xfsprogs/xfsprogs.mk
parente787c333e4649d28dc9c00f9b87fb39b4892bcd0 (diff)
downloadbuildroot-a434dac30dab40ed64a778d2cbbc6b8df237f3ff.tar.gz
buildroot-a434dac30dab40ed64a778d2cbbc6b8df237f3ff.tar.bz2
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>
Diffstat (limited to 'package/xfsprogs/xfsprogs.mk')
-rw-r--r--package/xfsprogs/xfsprogs.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/xfsprogs/xfsprogs.mk b/package/xfsprogs/xfsprogs.mk
index dd3767ac8e..209a49b23b 100644
--- a/package/xfsprogs/xfsprogs.mk
+++ b/package/xfsprogs/xfsprogs.mk
@@ -14,7 +14,8 @@ XFSPROGS_CONF_OPTS = \
--enable-lib64=no \
--enable-gettext=no \
INSTALL_USER=root \
- INSTALL_GROUP=root
+ INSTALL_GROUP=root \
+ --enable-static
XFSPROGS_INSTALL_TARGET_OPTS = DIST_ROOT=$(TARGET_DIR) install