Ticket #13641: 007-fix-build-dir-argument-on-windows.diff

File 007-fix-build-dir-argument-on-windows.diff, 984 bytes (added by alexsharoff@…, 4 years ago)

A hacky patch that I made to fix the problem on my end

  • tools/build/src/build-system.jam

    Workaround for https://svn.boost.org/trac10/ticket/13641
     
    676676        $(first-project-root-location) ] ;
    677677    local first-project-root = [ project.target $(first-project-root-module) ] ;
    678678    local first-build-build-dir = [ $(first-project-root).build-dir ] ;
     679
     680    # Workaround for https://svn.boost.org/trac10/ticket/13641
     681    local first-build-build-dir-workaround = [ MATCH ^/(.*)$ : $(first-build-build-dir) ] ;
     682
     683    if [ os.name ] = NT && $(first-build-build-dir-workaround)
     684    {
     685        configure.set-log-file $(first-build-build-dir-workaround)/config.log ;
     686    }
     687    else
     688    {
    679689    configure.set-log-file $(first-build-build-dir)/config.log ;
     690    }
     691
    680692    config-cache.load $(first-build-build-dir)/project-cache.jam ;
    681693
    682694    # Expand properties specified on the command line into multiple property