Unverified Commit 25f6bdf9 authored by Kevin Albertson's avatar Kevin Albertson Committed by GitHub
Browse files

CDRIVER-4743 Define `BSON_STATIC` for `bson_static` build (#1453)

* remove `bson_obj`

Separate sources built by `bson_shared` and `bson_static`. This is intended to build `bson_static` sources with no `dllexport` and `bson_shared` with `dllexport`.

* define `BSON_STATIC` when building

To suppress `dllexport`. When `dllexport` is defined, it appears to export the symbols in a consumer.

* revise comments

BSON_STATIC and MONGOC_STATIC are defined for static builds.
Exporting functions in static build has an effect.
parent 6c422301
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment