|
@@ -98,8 +98,21 @@ config BR2_PACKAGE_BOOST_IOSTREAMS
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LOCALE
|
|
|
bool "boost-locale"
|
|
|
+ # When boost-locale is enabled with icu support, Boost no
|
|
|
+ # longer supports building the libboost_* libraries as static
|
|
|
+ # libraries, causing build failures when other boost features
|
|
|
+ # than boost-locale are enabled. To work around this, we
|
|
|
+ # prevent using boost-locale on static linking configurations
|
|
|
+ # with icu enabled. See
|
|
|
+ # https://svn.boost.org/trac/boost/ticket/9685 for more
|
|
|
+ # details.
|
|
|
+ depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
|
|
|
|
+comment "boost-locale needs a toolchain w/ dynamic library"
|
|
|
+ depends on BR2_PACKAGE_ICU
|
|
|
+ depends on BR2_STATIC_LIBS
|
|
|
+
|
|
|
config BR2_PACKAGE_BOOST_LOG
|
|
|
bool "boost-log"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|