[Boost-bugs] [Boost C++ Libraries] #3425: ICU_LINK doesn't work

Subject: [Boost-bugs] [Boost C++ Libraries] #3425: ICU_LINK doesn't work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-08 12:24:27


#3425: ICU_LINK doesn't work
--------------------------+-------------------------------------------------
 Reporter: andysem | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: regex
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: icu |
--------------------------+-------------------------------------------------
 I'm trying to compile Boost.Regex with ICU 3.4 and MSVC 7.1. The ICU
 library in my case has a nonstandard directory layout like this:

 {{{
   icu
    |
    |->include
    | |
    | |->layout
    | |->unicode
    |
    |->win32
        |
        |->lib
 }}}

 So the library binaries are in icu/win32/lib instead of the standard
 icu/lib. I tried to use ICU_LINK environment variable, like bjam suggests
 (note, I use Cygwin to build the library):

 {{{
 export HAVE_ICU=1
 export ICU_PATH="$PATH_TO_ICU/icu"
 export ICU_LINK="/LIBPATH:$PATH_TO_ICU/icu/win32/lib icuuc.lib icuin.lib
 icudt.lib"
 }}}

 However, it seems this variable has no effect, the parameters in ICU_LINK
 are not seen in the linker command line.

 What I eventually came up with was to explicitly specify $ICU_LINK in
 linkflags for bjam when building Boost.Regex.

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