title: Using GNU STL and C++11 with V8 on Android NDK
body: <p>I am building an application on Android using NDK and V8. I would prefer to use C++11 and GNU STL for features such as <code>shared_ptr</code>; however, the V8 build system seems to be hardcoded to use <code>stlport_static</code> as its STL variant.</p>
  
  <p>Even when <a href="https://stackoverflow.com/a/24296105/318857">patching the build system to generate a fully self-contained library</a>, V8's build does not statically link STLport into its .a files (which is to be expected), and thus I get hundreds of linker errors from unresolved symbols in <code>libv8_base.a</code> et al.  I also do not see any way to indicate to <code>ndk-build</code> that it should link in <code>stlport_static</code> when I am using a different STL variant.</p>
  
  <p>Is there a reasonable pattern to linking in <code>stlport_static</code> while using <code>gnustl_static</code>, or, better yet, is there a way of building Android V8 against <code>gnustl_static</code> instead?</p>