All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] boost: correctly disable icu in locale if needed
@ 2018-07-13 17:42 Fabrice Fontaine
  2018-07-14 20:41 ` Thomas Petazzoni
  2019-04-07 20:25 ` Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2018-07-13 17:42 UTC (permalink / raw)
  To: buildroot

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 <fontaine.fabrice@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-08 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 17:42 [Buildroot] [PATCH 1/1] boost: correctly disable icu in locale if needed Fabrice Fontaine
2018-07-14 20:41 ` Thomas Petazzoni
2018-07-14 21:04   ` Fabrice Fontaine
2018-07-14 21:21     ` Thomas Petazzoni
2019-04-07 20:25 ` Thomas Petazzoni
2019-04-07 20:39   ` Fabrice Fontaine
2019-04-07 20:45   ` Max Filippov
2019-04-07 21:09     ` Max Filippov
2019-04-08  7:21       ` Thomas Petazzoni
2019-04-08 15:53         ` Max Filippov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.