Boost logo

Boost-Build :

Subject: Re: [Boost-build] discovering libraries with boost at build time
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-07-09 15:38:36


> Steven Wrote:
>
> lib icuuc : : <search>$(ICU_PATH)/lib <link>shared <runtime-link>shared ;
>
> This eventually shows up on the command line as
>
> -L$(ICU_PATH)/lib -licuuc
>
> If ICU_PATH is not defined, but the library is in the
> standard search path for the linker, it will still be found.
>
> What exactly is the problem?

Two problems:

1. ICU had changed naming convention of libraries: v3.8 and bellow there was
libicui18n.so and

   libicudata.so now it is libicuin.so and libicudt.so small difference but
still it would fail
   to build. So I need either force user to use specific ICU version (and 3.8 is
fine) or I need
   to search what library is installed.

   So technically you limited yourself in this fix to ICU >= 4.0

2. I want the build system to detect if library is installed or missing. So I
can turn of building
   Boost.Locale or turn it on. Or just disable some features for other projects.

   It is not so critical specifically for Boost.Locale, but if I was using BBv2
for my project like CppCMS
   that depends on 5-6 3rd part libraries, if I was asking a user to provide
flag for each one of them...
   I would have less users.

Artyom

      


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk