summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-05-02 17:58:57 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-05-02 21:34:25 +0200
commit00d40a4f29eafaded4cc530ab688a74162f21fa4 (patch)
treeabe1f3ddae831056c4860319f4f212b39e3c849d
parentd2e29e966ce41893c5c4832d6b44d01077e67bbe (diff)
downloadbuildroot-00d40a4f29eafaded4cc530ab688a74162f21fa4.tar.gz
buildroot-00d40a4f29eafaded4cc530ab688a74162f21fa4.zip
libgsasl: add mandatory dependency on wchar
libgsasl needs wctomb, if not available it will define it to rpl_wctomb. However, as there is no rpl_wctomb implementation, the .so ends up with an undefined reference to wctomb. This will cause linker errors for packages trying to use it such as msmtp: /home/peko/autobuild/instance-0/output/host/bin/../microblazeel-buildroot-linux-uclibc/sysroot/usr//lib/libgsasl.so: undefined reference to `wctomb' Fixes: - http://autobuild.buildroot.net/results/1bc7cb9a2dd1af746c78f3150528206b7256e40f Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libgsasl/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libgsasl/Config.in b/package/libgsasl/Config.in
index 5181386272..228f882377 100644
--- a/package/libgsasl/Config.in
+++ b/package/libgsasl/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBGSASL
bool "libgsasl"
+ depends on BR2_USE_WCHAR
help
Simple Authentication and Security Layer framework Library.
GNU SASL is an implementation of the Simple Authentication and
@@ -9,3 +10,6 @@ config BR2_PACKAGE_LIBGSASL
against servers.
http://www.gnu.org/software/gsasl
+
+comment "libgsasl needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
OpenPOWER on IntegriCloud