[MONGOCRYPT-210] Unable to statically link to `mongocrypt-static.lib` on windows Created: 18/Nov/19 Updated: 28/Oct/23 Resolved: 02/Dec/19 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matt Broadstone | Assignee: | Matt Broadstone |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The way that libmongocrypt is currently linking to kms_message is broken such that no outside library can statically link to the library because a number of symbols are not found. The issue only seems to present itself on windows, and there is a TODO in the CMakeLists.txt acknowledging the issue and hacking around it by using object files only available in the CMake build for libmongocrypt itself. |
| Comments |
| Comment by Githook User [ 19/Nov/19 ] |
|
Author: {'name': 'Matt Broadstone', 'username': 'mbroadst', 'email': 'mbroadst@mongodb.com'}Message: Since kms_message is built as a static library, it needs to be |
| Comment by Matt Broadstone [ 18/Nov/19 ] |