staticLibStdCpp property

bool staticLibStdCpp
final

Whether to statically link libstdc++ into the output shared library.

Defaults to true. Produces a self-contained .so that does not depend on the target system's libstdc++.so.6 version. This avoids GLIBCXX_3.4.XX not found errors when deploying to systems with an older GCC runtime.

Set to false to link dynamically against the system libstdc++ (smaller binary, but requires a compatible runtime on the target).

Implementation

final bool staticLibStdCpp;