Ticket #9861: interprocess.patch

File interprocess.patch, 1.7 KB (added by Steven Watanabe, 9 years ago)

Patch to fix the issue

  • example/Jamfile.v2

    diff --git a/example/Jamfile.v2 b/example/Jamfile.v2
    index 34cce67..dcdb2f8 100644
    a b rule test_all  
    2525      :  # additional args
    2626        <toolset>acc:<linkflags>-lrt
    2727        <toolset>acc-pa_risc:<linkflags>-lrt
    28         <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
     28        <target-os>windows,<toolset>gcc:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    2929        <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
    3030        <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    3131      :  # test-files
    rule test_all  
    4141      :  # requirements
    4242        <toolset>acc:<linkflags>-lrt
    4343        <toolset>acc-pa_risc:<linkflags>-lrt
    44         <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
     44        <target-os>windows,<toolset>gcc:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    4545        <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
    4646        <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    4747      ] ;
  • test/Jamfile.v2

    diff --git a/test/Jamfile.v2 b/test/Jamfile.v2
    index a67697e..17399a3 100644
    a b rule test_all  
    2727      :  # requirements
    2828        <toolset>acc:<linkflags>-lrt
    2929        <toolset>acc-pa_risc:<linkflags>-lrt
    30         <toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
     30        <target-os>windows,<toolset>gcc:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    3131        <host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
    3232        <host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
    3333      ] ;