When we build with Autotools and gcc or clang, we specify which symbols to export with versions.ldscript, in both libbson and libmongoc. When we build with CMake and MS Visual Studio, we use libbson.def or libmongoc.def.
Sometimes (in CLion on Mac or Linux, for example) we'll build with CMake and gcc or clang. Use versions.ldscript in that configuration, too.
- is related to
-
CDRIVER-2054 Windows static build is broken in 1.5.0
- Closed
- related to
-
CDRIVER-1466 clang exports private symbols
- Closed
-
CDRIVER-1034 libtool version info
- Closed