Boost logo

Boost-Build :

From: Zbynek Winkler (zw-bjam_at_[hidden])
Date: 2005-06-02 15:09:37


Pedro Ferreira wrote:

>One possibility could be:
>
>if [ os.name ] == NT
>{
> lib lwsock32 : : <name>wsock32 ;
>}
>else
>{
> alias lwsock32 ;
>}
>
>
I am using

import os ;
if [ os.on-windows ] { lib ws2_32 ; }
else { alias ws2_32 ; }

Zbynek

 


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