aboutsummaryrefslogtreecommitdiff
path: root/ports/libbson/static.patch
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2016-11-21 11:16:55 -0800
committerGitHub <noreply@github.com>2016-11-21 11:16:55 -0800
commit23a5a229cef6d897b15d551de6d6cc93568e364b (patch)
tree6736efb2389e453684759c7982b659ea3d250556 /ports/libbson/static.patch
parentdb8146df292f74519f9727d1a721b326c59ceecc (diff)
parent686fef9bfe27665f7427812529bcb4143afa45ff (diff)
downloadvcpkg-23a5a229cef6d897b15d551de6d6cc93568e364b.tar.gz
vcpkg-23a5a229cef6d897b15d551de6d6cc93568e364b.zip
Merge pull request #310 from sdcb/libbson
[mongo-*] Enable static build, upgrade package version
Diffstat (limited to 'ports/libbson/static.patch')
-rw-r--r--ports/libbson/static.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libbson/static.patch b/ports/libbson/static.patch
new file mode 100644
index 000000000..adb52fa4f
--- /dev/null
+++ b/ports/libbson/static.patch
@@ -0,0 +1,13 @@
+diff --git a/bson-macros.h b/bson-macros.h
+index 909bf6c..0a1f612 100644
+--- a/bson-macros.h
++++ b/bson-macros.h
+@@ -69,7 +69,7 @@
+ # ifdef BSON_COMPILATION
+ # define BSON_API __declspec(dllexport)
+ # else
+-# define BSON_API __declspec(dllimport)
++# define BSON_API
+ # endif
+ #elif defined(__GNUC__)
+ # define BSON_API __attribute__ ((visibility ("default")))