aboutsummaryrefslogtreecommitdiff
path: root/ports/mongo-c-driver/static.patch
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-01-01 14:48:45 +0200
committerGitHub <noreply@github.com>2018-01-01 14:48:45 +0200
commitead35fd00a0b82fcd7e2484a5265d3f7c47130dc (patch)
tree5537cbc6a0cf68b8bd3d9d4df621ac05a26db372 /ports/mongo-c-driver/static.patch
parent4ae7a5d7a9bc491c986cdc1ef88af45e3703891d (diff)
parent7f3e5e3f776811764b679470b1494264c538885a (diff)
downloadvcpkg-ead35fd00a0b82fcd7e2484a5265d3f7c47130dc.tar.gz
vcpkg-ead35fd00a0b82fcd7e2484a5265d3f7c47130dc.zip
Merge pull request #2479 from ivysnow/mongoc
[libbson, mongo-c-driver] update to 1.9.0
Diffstat (limited to 'ports/mongo-c-driver/static.patch')
-rw-r--r--ports/mongo-c-driver/static.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/mongo-c-driver/static.patch b/ports/mongo-c-driver/static.patch
new file mode 100644
index 000000000..7f348ba82
--- /dev/null
+++ b/ports/mongo-c-driver/static.patch
@@ -0,0 +1,13 @@
+diff --git a/mongoc-macros.h b/mongoc-macros.h
+index 909bf6c..0a1f612 100644
+--- a/mongoc-macros.h
++++ b/mongoc-macros.h
+@@ -40,7 +40,7 @@
+ #elif defined(MONGOC_COMPILATION)
+ #define MONGOC_API __declspec(dllexport)
+ #else
+-#define MONGOC_API __declspec(dllimport)
++#define MONGOC_API
+ #endif
+ #define MONGOC_CALL __cdecl
+