aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-sdk-cpp/shared_define.patch
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2016-12-01 10:23:35 +0800
committersdcb <sdflysha@qq.com>2016-12-01 10:23:35 +0800
commit76f99eecfce01ef1ab4262f179819eb250b8d56e (patch)
tree4a99afb0c86ba22c24199841105c81acbaed6f1f /ports/aws-sdk-cpp/shared_define.patch
parent915d99ecb751c3607adac689e7353f59d30f13f6 (diff)
downloadvcpkg-76f99eecfce01ef1ab4262f179819eb250b8d56e.tar.gz
vcpkg-76f99eecfce01ef1ab4262f179819eb250b8d56e.zip
[aws-sdk-cpp] add patch to define USE_IMPORT_EXPORT to fix dynamic build link issue
Diffstat (limited to 'ports/aws-sdk-cpp/shared_define.patch')
-rw-r--r--ports/aws-sdk-cpp/shared_define.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/aws-sdk-cpp/shared_define.patch b/ports/aws-sdk-cpp/shared_define.patch
new file mode 100644
index 000000000..96657b33e
--- /dev/null
+++ b/ports/aws-sdk-cpp/shared_define.patch
@@ -0,0 +1,10 @@
+diff --git a/aws/core/SDKConfig.h b/aws/core/SDKConfig.h
+index 130c9dd..66b2630 100644
+--- a/aws/core/SDKConfig.h
++++ b/aws/core/SDKConfig.h
+@@ -17,3 +17,4 @@
+
+ #define JSON_USE_EXCEPTION 0
+
++#define USE_IMPORT_EXPORT
+\ No newline at end of file