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-09 22:04:48


AMDG

On 01/09/2018 02:38 PM, Kuhl, Brian via Boost-build wrote:
> Hi I'm looking to update my pull request to ASIO and I'm looking at various NT logic that's are causing problems for cross-compiles.
> > In various ...
> libs/asio/example/... /Jamfile.v2
>
> else if [ os.name ] = NT
> {
> lib ws2_32 ;
> lib mswsock ;
> }
> <snip>
> <os>NT:<define>_WIN32_WINNT=0x0501
> <snip>
>
> Could we not just ?
>
> <target-os>windows:<library>ws2_32
> <target-os>windows:<library>mswsock
>

Yes, <target-os> is the correct way. <os> has
been obsolete for years.

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