vcpkg/ports/libbson/static.patch

12 lines
243 B
Diff

--- a/bson/bson-macros.h
+++ b/bson/bson-macros.h
@@ -87,7 +87,7 @@
#elif defined(BSON_COMPILATION)
#define BSON_API __declspec(dllexport)
#else
-#define BSON_API __declspec(dllimport)
+#define BSON_API
#endif
#define BSON_CALL __cdecl