Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] boost: Pass staging dir to --with-icu option.
@ 2013-02-07 13:48 Ignacy Gawedzki
  2013-02-07 14:47 ` Thomas Petazzoni
  2013-02-08 21:27 ` Peter Korsgaard
  0 siblings, 2 replies; 8+ messages in thread
From: Ignacy Gawedzki @ 2013-02-07 13:48 UTC (permalink / raw)
  To: buildroot

When using the --with-icu option without specifying the directory, boost's
bootstrap.sh script will look at "common" locations (lines 289-294):

    COMMON_ICU_PATHS="/usr /usr/local /sw"
    for p in $COMMON_ICU_PATHS; do
      if test -r $p/include/unicode/utypes.h; then
        ICU_ROOT=$p
      fi
    done

With buildroot it may surely become problematic at some point.
---
 package/boost/boost.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 5e1bb4e..a202848 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -39,7 +39,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave)
 
 ifeq ($(BR2_PACKAGE_ICU),y)
-BOOST_FLAGS += --with-icu
+BOOST_FLAGS += --with-icu=$(STAGING_DIR)/usr
 BOOST_DEPENDENCIES += icu
 else
 BOOST_FLAGS += --without-icu
-- 
1.7.10.4

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

end of thread, other threads:[~2013-02-09  9:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-07 13:48 [Buildroot] [PATCH] boost: Pass staging dir to --with-icu option Ignacy Gawedzki
2013-02-07 14:47 ` Thomas Petazzoni
2013-02-07 15:24   ` Ignacy Gawedzki
2013-02-07 15:27     ` Thomas Petazzoni
2013-02-08 21:27 ` Peter Korsgaard
2013-02-08 22:36   ` Ignacy Gawedzki
2013-02-08 22:39     ` Yann E. MORIN
2013-02-09  9:56     ` Peter Korsgaard

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