diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-04-07 15:15:49 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-04-07 15:15:49 -0700 |
| commit | 4450e1dbbe898673f607868c49a7b0fa42ab37f6 (patch) | |
| tree | e501cff15f72cc32f786a7cbf349d3051078be64 /ports/azure-storage-cpp/static-builds.patch | |
| parent | c33589ac27dc85371d579a38c0ef6d636ebbdd31 (diff) | |
| download | vcpkg-4450e1dbbe898673f607868c49a7b0fa42ab37f6.tar.gz vcpkg-4450e1dbbe898673f607868c49a7b0fa42ab37f6.zip | |
[azure-storage-cpp] Fix static builds.
Diffstat (limited to 'ports/azure-storage-cpp/static-builds.patch')
| -rw-r--r-- | ports/azure-storage-cpp/static-builds.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/azure-storage-cpp/static-builds.patch b/ports/azure-storage-cpp/static-builds.patch new file mode 100644 index 000000000..341017b2a --- /dev/null +++ b/ports/azure-storage-cpp/static-builds.patch @@ -0,0 +1,13 @@ +diff --git a/Microsoft.WindowsAzure.Storage/CMakeLists.txt b/Microsoft.WindowsAzure.Storage/CMakeLists.txt +index 8d1c47e..3b4d1c0 100644 +--- a/Microsoft.WindowsAzure.Storage/CMakeLists.txt ++++ b/Microsoft.WindowsAzure.Storage/CMakeLists.txt +@@ -108,6 +108,8 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") + add_compile_options(/MP) + if(BUILD_SHARED_LIBS) + add_definitions(-DWASTORAGE_DLL -D_USRDLL) ++ else() ++ add_definitions(-D_NO_WASTORAGE_API) + endif() + else() + message("-- Unknown compiler, success is doubtful.")
\ No newline at end of file |
