Re: [Boost-bugs] [Boost C++ Libraries] #9685: Boost.Locale does not link against static ICU on Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9685: Boost.Locale does not link against static ICU on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-15 03:36:04


#9685: Boost.Locale does not link against static ICU on Windows
-------------------------------+----------------------
  Reporter: stathis@… | Owner: artyom
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: locale
   Version: Boost 1.55.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by stathis@…):

 I filled this years ago and since then I have (from time to time) been
 investigating on how to fix it. I even had to dig through the Boost Jam
 undocumented features ...

 For anyone interested I have precompiled Boost with static ICU linkage
 (static runtime, that is /MT) and it is available here:
 http://www.npcglib.org/~stathis/blog/precompiled-boost/

 In the page I provide a patch to the Jamfiles of Boost.Locale and
 Boost.Regex and my boost build script, as well as instructions on how to
 build the libs again for anyone wanting to do so.

 I built the libs for most MSVC compilers (MSVC2008-2015), as to this date
 there is no workaround for this problem. I don't consider this a
 "Cosmetic" problem of the Boost libraries. Furthermore, is this
 "limitation" mentioned anywhere? The user is left to believe he built a
 static Boost library, but when linking his code against upstream libs, he
 gets a dependency to the ICU dlls.

 I have a patch in my page and anyone wishing to fix it upstream feel free
 to have a look, however note that I also patch ICU to link against static
 runtime which I use (so everything is compatible). This is not the default
 for ICU (/MD is).

 I will keep building my own Boost and I guess the maintainer can decide if
 this is worth fixing or not.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9685#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC