summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-07 20:59:56 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-07 20:59:56 (GMT)
commit3b595d512f52dccfa03105d83cd2a8656804cc8b (patch)
tree36ccefcaf5a06f168d5a4f25f51ed9d5f2f1c7f5
parent41f7e9b68af564fe4b5a70c17b391a4bf1dcf3f9 (diff)
downloadbuildroot-3b595d512f52dccfa03105d83cd2a8656804cc8b.tar.gz
buildroot-3b595d512f52dccfa03105d83cd2a8656804cc8b.tar.bz2
elfutils: needs wchar
elfutils contains a call to wmempcpy, which is only available when the toolchain has wchar support, so add the dependency. Also display a comment if the toolchain dependencies are not met. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/elfutils/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/elfutils/Config.in b/package/elfutils/Config.in
index b107a97..914eec6 100644
--- a/package/elfutils/Config.in
+++ b/package/elfutils/Config.in
@@ -1,3 +1,6 @@
+comment "elfutils requires a toolchain with LARGEFILE and WCHAR support"
+ depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+
config BR2_PACKAGE_ELFUTILS
bool "elfutils"
select BR2_PACKAGE_ARGP_STANDALONE if \
@@ -6,6 +9,7 @@ config BR2_PACKAGE_ELFUTILS
BR2_TOOLCHAIN_EXTERNAL_UCLIBC
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
depends on BR2_LARGEFILE
+ depends on BR2_USE_WCHAR
help
Libraries/utilities to handle ELF objects (drop in
replacement for libelf).