aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-05-25 13:07:35 -0700
committerGitHub <noreply@github.com>2017-05-25 13:07:35 -0700
commitbbe3fc72b422fa58d02300cb22930992edd20336 (patch)
tree20bddb7c5b917468eb8bc54e695a534ab418c055
parent8d10c7ac34a0856877fed83a6e45986bdf1b1ef7 (diff)
downloadvcpkg-bbe3fc72b422fa58d02300cb22930992edd20336.tar.gz
vcpkg-bbe3fc72b422fa58d02300cb22930992edd20336.zip
Added note
-rw-r--r--ports/thrift/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/thrift/portfile.cmake b/ports/thrift/portfile.cmake
index af66b4a57..8aec05cb7 100644
--- a/ports/thrift/portfile.cmake
+++ b/ports/thrift/portfile.cmake
@@ -5,6 +5,10 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
endif()
+# As per Ben Craig thrift comment see https://issues.apache.org/jira/browse/THRIFT-1834
+# Currently, Thrift is designed to be packaged as a static library. As a static library, the consuming program / dll will only pull in the object files that it needs, so the per-binary size increase should be pretty small.
+# Thrift isn't a very good candidate to become a dynamic library. No attempts are made to preserve binary compatibility, or to provide a C / COM-like interface to make binary compatibility easy.
+
vcpkg_find_acquire_program(WINFLEXBISON)
vcpkg_from_github(