Boost logo

Boost-Build :

Subject: Re: [Boost-build] Is there any difference , or is this redundant ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-01-10 15:33:47


AMDG

On 01/09/2018 10:04 PM, Kuhl, Brian via Boost-build wrote:
> This one was bit more complex, is the alias part correct?
>
> <snip>
> -if [ os.name ] = NT
> -{
> - lib ssl : : <name>ssleay32 ;
> - lib crypto : : <name>libeay32 ;
> -}
> -else
> -{
> - lib ssl ;
> - lib crypto ;
> -}
> +alias ssl_libs
> + : <library>ssleay32 <library>libeay32
> + : <target-os>windows
> + ;
> +alias ssl_libs : <library>ssl <library>crypto ;
> +
> +explicit ssl_libs
>

You can't use <library> without declaring the library as its own target.

try:
lib ssl : : <target-os>windows:<name>ssleay32 ;

In Christ,
Steven Watanabe


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