Ticket #4735: build-v2-build-system-jam.patch

File build-v2-build-system-jam.patch, 642 bytes (added by Jim Bell <jim@…>, 12 years ago)
  • v2/build-system.jam

     
    439439    for local t in $(option-toolsets) $(feature-toolsets)
    440440    {
    441441        # Parse toolset-version/properties.
    442         local (t-v,t,v) = [ MATCH (([^-/]+)-?([^/]+)?)/?.* : $(t) ] ;
     442                local t2 = [ regex.replace $(t) "-mingw" "" ] ;
     443        local (t-v,t,v) = [ MATCH (([^-/]+)-?([^/]+)?)/?.* : $(t2) ] ;
    443444        local toolset-version = $((t-v,t,v)[1]) ;
    444445        local toolset = $((t-v,t,v)[2]) ;
    445446        local version = $((t-v,t,v)[3]) ;