vcpkg/ports/mongo-cxx-driver/static.patch

13 lines
332 B
Diff
Raw Normal View History

2016-11-22 16:27:42 +08:00
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