[Boost-bugs] [Boost C++ Libraries] #7706: cross compiling of threads library - JamFile.v2

Subject: [Boost-bugs] [Boost C++ Libraries] #7706: cross compiling of threads library - JamFile.v2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-16 20:59:12


#7706: cross compiling of threads library - JamFile.v2
------------------------------+---------------------------------------------
 Reporter: tvaneerd@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Problem | Keywords:
------------------------------+---------------------------------------------
 Thread's jam file assumes the compile target is the same as the host :-(

 ie a check for windows should probably be a check for the target being
 windows:

 @@ -105,7 +107,7 @@
  local rule default_threadapi ( )
  {
      local api = pthread ;
 - if [ os.name ] = "NT" { api = win32 ; }
 + if <target-os>windows in $(properties) { api = win32 ; }
      return $(api) ;
  }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7706>
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:11 UTC