I managed to build WebRTC for Android using
It seems as though by default the created libraries are linked against llvm-libc++. Is there a way to build WebRTC linked against gnustl instead?
I need this because the Android library I am creating uses both WebRTC and boost, and the boost libraries I am using (from CrystaX) are themselves linked against gnustl. I have seen others ask similar questions in the past, but did not see any answers.
If all else fails (including attempts to build boost on llvm-libc++), I am considering creating a wrapper around WebRTC which statically links to llvm-libc++ and exposes a C-style API to the rest of my codebase which will use gnustl. Is this a reasonable option?
Thanks.