vendredi 2 décembre 2016

Change c++ standard library on Android in bazel

I'm building a C++11 program that works on osX, but the build for android fails with "error: 'round' is not a member of 'std'".

This is a known problem, associated with the gnustl standard library (http://ift.tt/2fNGBDa), and the current best workaround seems to be to link against LLVM libc++.

How to do so is documented here for Android Studio or cmake, but I cannot find any documentation for how to do the same with bazel, if it is possible.

Aucun commentaire:

Enregistrer un commentaire