How to build libgstreamer_android.so with libc++ instead of libc++_shared

Does anyone know how I can rebuild libgstreamer_android.so so that it depends on libc++ instead of libc++_shared?

My understanding is that I need to use APP_STL = c++_static in my Application.mk file, but that doesn’t seem to be working and it still seems to be depending on libc++_shared.so.

Any help would be greatly appreciated!

This is not possible. Various C++ libraries and elements inside the generated libgstreamer_android.so depend on libc++_shared.so and will not work with the static libc++.

Thanks for the reply @ystreet00 That’s good to know.

I know it wouldn’t be easy, but is it possible to rebuild the android binaries from source using static libc++ and then use those to generate libgstreamer_android.so? Or is that impossible as well?

Thanks for the help!