aboutsummaryrefslogtreecommitdiff
path: root/ports/mongo-cxx-driver/static.patch
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2016-11-22 16:27:42 +0800
committersdcb <sdflysha@qq.com>2016-11-22 16:27:42 +0800
commitdb2b51c06aed2a10a20470dfeb758ba7fc36d658 (patch)
treeb4189db1e2a515be7fdd4e2165a13b6c6de8392d /ports/mongo-cxx-driver/static.patch
parent9d3a91cce2d9a437ca508b9400c9f0b005f90231 (diff)
downloadvcpkg-db2b51c06aed2a10a20470dfeb758ba7fc36d658.tar.gz
vcpkg-db2b51c06aed2a10a20470dfeb758ba7fc36d658.zip
define MONGOCXX_STATIC in export.hpp
Diffstat (limited to 'ports/mongo-cxx-driver/static.patch')
-rw-r--r--ports/mongo-cxx-driver/static.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/mongo-cxx-driver/static.patch b/ports/mongo-cxx-driver/static.patch
new file mode 100644
index 000000000..a485efe3d
--- /dev/null
+++ b/ports/mongo-cxx-driver/static.patch
@@ -0,0 +1,12 @@
+diff --git a/mongocxx/config/export.hpp b/mongocxx/config/export.hpp
+index 61a3e74..7fc951c 100644
+--- a/mongocxx/config/export.hpp
++++ b/mongocxx/config/export.hpp
+@@ -2,6 +2,7 @@
+ #ifndef MONGOCXX_API_H
+ #define MONGOCXX_API_H
+
++#define MONGOCXX_STATIC
+ #ifdef MONGOCXX_STATIC
+ # define MONGOCXX_API
+ # define MONGOCXX_PRIVATE