boost: locale needs thread with icu
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 14 Aug 2018 20:34:19 +0000 (22:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 15 Aug 2018 20:12:27 +0000 (22:12 +0200)
output/host/usr/bin/nios2-linux-readelf -d output/staging/usr/lib/libboost_locale.so

Dynamic section at offset 0x125ec0 contains 36 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libboost_chrono.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_thread.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [libboost_system.so.1.67.0]
 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libicudata.so.60]
 0x00000001 (NEEDED)                     Shared library: [libicui18n.so.60]
 0x00000001 (NEEDED)                     Shared library: [libicuuc.so.60]

Fixes:
 - http://autobuild.buildroot.net/results/57838f7cd84f37b66ab7007deaea847af8f54b72

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/boost/Config.in

index 510ed336e498b24c88cf203de29a2da6ffaba103..035a450d12d849c00f2bf56a154869300086edba 100644 (file)
@@ -190,6 +190,7 @@ config BR2_PACKAGE_BOOST_LOCALE
        # details.
        depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
        select BR2_PACKAGE_BOOST_SYSTEM
+       select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        help
          Provide localization and Unicode handling tools for C++.