vcpkg/ports/libbson/static.patch
2018-01-01 15:20:33 +08:00

14 lines
306 B
Diff

diff --git a/bson-macros.h b/bson-macros.h
index 909bf6c..0a1f612 100644
--- a/bson-macros.h
+++ b/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