title: How to link to libc++ on /usr/local/lib?
body: <p>I've tried to provide <code>-L /usr/local/lib</code>, tried <code>-nostdinc++</code>, tried to set <code>DYLD_LIBRARY_PATH</code> and <code>DYLD_FALLBACK_LIBRARY_PATH</code> but <code>otool</code> aways gives me:</p>
  
  <pre><code>otool -L sample
  sample:
      /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0)
      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
  </code></pre>
  
  <p>How to link to my custom compiled <code>/usr/local/lib/libc++.dylib</code> on OS X?</p>
  
  <p>Variations of compilation were upon basic <code>clang++ -std=c++11 -stdlib=libc++</code>.</p>