|
Boost-Build : |
Subject: Re: [Boost-build] Unofficial library not seen by bjam only in Cygwin
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2010-11-04 07:33:09
From: NuSkooler wrote:
> Hello,
>
> I have extracted a third party / unofficial library (Boost.Crypto) to
> my boost directory. It is properly 'installed' to libs/crypto and
> boost/crypto. Under MSW, bjam --show-libraries displays crypto as
> expected and it can build just fine. Under Cygwin however, all
> libraries but this are displayed. The libs/crypto/build/jamfile.v2 is
> very vanilla:
>
> lib boost_crypto
> :
> ../src/blowfish_cipher.cpp
> ../src/md4_ctx.cpp
> ../src/md5_ctx.cpp
> ../src/rc4_cipher.cpp
> ../src/rijndael_cipher.cpp
> ../src/ripemd_ctx.cpp
> ../src/sha1_ctx.cpp
> ../src/sha2_ctx.cpp
> ;
>
> That's it. I put some ECHO out's in Jamroot in this loop: "for local l
> in $(all-libraries)" (around line 236)
>
> ...crypto is not shown.
>
> I need to get this working in order to use Boost.Crypto along with my
> Android/NDK build of boost.
>
> Any ideas?
In e.g. Boost 1.43's Jamroot all-libraries are collected with
all-libraries = [ MATCH .*libs/(.*)/build/.* : [ glob libs/*/build/Jamfile.v2 ]
[ glob libs/*/build/Jamfile ] ]
;
Note the uppercase 'J'. This doesn't consider libs/crypto/build/jamfile.v2 in
case-sensitive filesystems. That it works on windows is obviously because
windows filesystems are case-insensitive by default.
HTH,
Gevorg
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