Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3393: Thread compilation skipped when cross compiled from ubuntu to windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-11 14:04:49
#3393: Thread compilation skipped when cross compiled from ubuntu to windows
------------------------------------------------------+---------------------
Reporter: epsilon777 <jeanpaul.vallee1@â¦> | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.40.0 | Severity: Problem
Resolution: | Keywords: cross compile thread skipp
------------------------------------------------------+---------------------
Comment (by viboes):
Do someone know how to make threadapi dependent on target-os and not on
os?
I have tried
{{{
local rule default_threadapi ( )
{
local api = pthread ;
#if [ os.name ] = "NT" { api = win32 ; }
if [ target-os ] = windows { api = win32 ; }
return $(api) ;
}
}}}
But this doesn't works.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3393#comment:4> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC