Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-12-24 14:39:30


Janusz Piwowarski wrote:
> .. and missed patch.

And thank you!! For finding where that was getting added. And hence
giving me enough hints to replicate the problem. Your solution is quite
right, as it doesn't work if *only* MINGW_ROOT_DIRECTORY is set. Here's
the change I checked in...

Index: mingw-tools.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v1/mingw-tools.jam,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- mingw-tools.jam 16 Oct 2005 15:34:27 -0000 1.20
+++ mingw-tools.jam 24 Dec 2005 19:30:38 -0000 1.21
@@ -15,7 +15,10 @@
      extends-toolset gcc ;

      # So that RUNPATH, and PATH, is set to include where the mingw
DLLs are located.
- flags mingw STDLIBPATH : $(GCC_BIN_DIRECTORY) ;
+ if $(GCC_BIN_DIRECTORY) && $(GCC_BIN_DIRECTORY) != ""
+ {
+ flags mingw STDLIBPATH : $(GCC_BIN_DIRECTORY) ;
+ }
  }

  flags mingw LINKFLAGS <user-interface>gui : -Wl,--subsystem,windows ;
===================================================================

Enjoy.

Happy Holidays :-)

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk