summaryrefslogtreecommitdiff
path: root/package/tpm-tools/Config.in
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2015-12-30 11:10:50 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-30 14:57:04 +0100
commit34f204dc63c541777344cfdd3fc551dfda0350af (patch)
tree98ecac8c65487706a49e9c285f68bcc10ff34fef /package/tpm-tools/Config.in
parenta794e7fb50f00be4167e6b12b6b56f24678912fa (diff)
package/tpm-tools: fix build with locale support
tpm-tools needs to link with libintl when locale support is enabled. However, tpm-tools' build-system internally builds a couple of static libraries used to build the final programs. When linking these libraries or the final programs, we need to explicitly tell the linker to link with libintl in order to resolve all the missing symbols. Fixes: http://autobuild.buildroot.org/results/560/56020558ec298ac4007bf7f6ce030b3f2fa1157d/ http://autobuild.buildroot.org/results/17f/17fc6ca79765fd9ecdacec4f5a2b58caa554d48d/ http://autobuild.buildroot.org/results/2d2/2d2c655429df62da2b8746a564fc064609e96001/ http://autobuild.buildroot.org/results/d52/d5259b83e7a269bca019d024366aa201f5a174fd/ http://autobuild.buildroot.org/results/11c/11cb0d1e51459e75e5f376cb07ce0188f8f050c4/ http://autobuild.buildroot.org/results/bad/bad9a97b4fff00732f2efb043bbb76a99963c491/ http://autobuild.buildroot.org/results/2f8/2f8bd534e6fcd9d356fe9087cb1394b9b2c4192c/ and many others... Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: NoƩ Rubinstein <nrubinstein@aldebaran.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tpm-tools/Config.in')
-rw-r--r--package/tpm-tools/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/tpm-tools/Config.in b/package/tpm-tools/Config.in
index d54be3e15..dd59aaaf4 100644
--- a/package/tpm-tools/Config.in
+++ b/package/tpm-tools/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_TPM_TOOLS
bool "tpm-tools"
select BR2_PACKAGE_TROUSERS
select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
depends on BR2_TOOLCHAIN_HAS_THREADS # trousers
depends on !BR2_STATIC_LIBS # trousers
help