From: Fabrice Fontaine Date: Fri, 13 Jul 2018 19:42:47 +0200 Subject: [Buildroot] [PATCH 1/1] boost: correctly disable icu in locale if needed Message-ID: <20180713174247.4005-1-fontaine.fabrice@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net boost doesn't take into account --without-icu flag and links libboost_locale with icu if it founds it in staging directory So use boost.locale.icu to fix this issue Signed-off-by: Fabrice Fontaine --- package/boost/boost.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/boost/boost.mk b/package/boost/boost.mk index b2605a70b7..242b60a460 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -116,6 +116,12 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) BOOST_OPTS += boost.locale.posix=off endif +ifeq ($(BR2_PACKAGE_ICU),y) +BOOST_OPTS += boost.locale.icu=on +else +BOOST_OPTS += boost.locale.icu=off +endif + BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv) endif -- 2.14.1