title: How can I get scons to use Clang with libc++?
body: <p>How can I get scons to use Clang with libc++? Putting "-stdlib=libc++" in any of the flags I pass to the Environment results in undefined reference errors like the following:</p>
  
  <pre><code>hello.o: In function `main':
  hello.cpp:(.text+0xc): undefined reference to `std::__1::cout'
  hello.o: In function `std::__1::basic_ostream&lt;char, std::__1::char_traits&lt;char&gt; &gt;&amp; std::__1::endl&lt;char, std::__1::char_traits&lt;char&gt; &gt;(std::__1::basic_ostream&lt;char, std::__1::char_traits&lt;char&gt; &gt;&amp;)':
  </code></pre>