[Boost-bugs] [Boost C++ Libraries] #12011: Boost.Regex always links against dynamic DLLs of ICU with MSVC

Subject: [Boost-bugs] [Boost C++ Libraries] #12011: Boost.Regex always links against dynamic DLLs of ICU with MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-21 11:44:44


#12011: Boost.Regex always links against dynamic DLLs of ICU with MSVC
------------------------------+-------------------------
 Reporter: stathis@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 I found out there is no detection code of static ICU in the Regex (and
 Locale) Jamfiles.

 I have blogged about the problem and solution
 [http://www.npcglib.org/~stathis/blog/2016/02/21/windows-task-building-
 boost-against-static-icu-with-msvc/ here]. To cut a long story short,
 sicuXX.lib files should be detected when static linking and also if the
 runtimes are static, instead of <linkflags>, the <archiveflags> feature
 should be used.

 I have written a rough patch for my own use, which does that, but it may
 not be entirely clean for upstream. It is
 [http://www.npcglib.org/~stathis/downloads/boost_1.60.0.patch here] though
 in case you decide to fix it properly.

 It would be nice until (and if at all) this is fixed the documentation or
 at build time this limitation was made clear. Currently the user is left
 to believe he has a statically linked Boost against ICU.

 I will try to improve my patch in the next iteration, but I'm still
 learning Boost.Build.

 thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12011>
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