title: scons LIBPATH on windows with msys
body: <p>I'm working on a C++ project using <a href="http://llvm.org" rel="nofollow noreferrer">LLVM</a> and I'd like to replace the LLVM build system (which uses autoconf and make) with scons. Unfortunately I've now run into a major problem. I want my project to compile on Linux as well as Windows. To compile on Windows I use mingw/msys which works perfectly with the autoconf/make system in place. </p>
  
  <p>However scons modifies my library path and prefixes it with the drive letter, i.e. when I specify <code>/usr/local/lib</code> the actual parameter passed to the linker is <code>-LD:\usr\local\lib</code> which obviously doesn't contain my required libraries. I'm setting the library path in the following way:</p>
  
  <pre><code>env = Environment(LIBPATH = ['/usr/local/lib', 'build/lib/sample'])</code></pre>
  
  <p>Also <code>env['LIBPATH']</code> still contains the correct path.</p>
  
  <p>Is there any way to prevent scons from messing with that path?</p>
  
  <p>thanks</p>