Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] boost: disable locale and regex modules if static build and icu are enabled
@ 2017-05-10  9:25 yegorslists at googlemail.com
  2017-05-11 19:38 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2017-05-10  9:25 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Boost build system doesn't support ICU static only building [1], so
so disable locale and regex modules for this case.

[1] http://boost.2283326.n4.nabble.com/bjam-Building-Regex-with-static-runtime-linking-td2588874.html

Fixes:
http://autobuild.buildroot.net/results/436/436f6173bb29a945abc75899a6b74e1266362fc9

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 package/boost/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/boost/Config.in b/package/boost/Config.in
index 9825c09..76efe3b 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -98,6 +98,8 @@ config BR2_PACKAGE_BOOST_IOSTREAMS
 
 config BR2_PACKAGE_BOOST_LOCALE
 	bool "boost-locale"
+	# Boost build system doesn't support ICU static only building
+	depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 
 config BR2_PACKAGE_BOOST_LOG
@@ -134,6 +136,8 @@ config BR2_PACKAGE_BOOST_RANDOM
 
 config BR2_PACKAGE_BOOST_REGEX
 	bool "boost-regex"
+	# Boost build system doesn't support ICU static only building
+	depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
 
 config BR2_PACKAGE_BOOST_SERIALIZATION
 	bool "boost-serialization"
-- 
2.1.4

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

end of thread, other threads:[~2017-05-11 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10  9:25 [Buildroot] [PATCH] boost: disable locale and regex modules if static build and icu are enabled yegorslists at googlemail.com
2017-05-11 19:38 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox