aboutsummaryrefslogtreecommitdiff
path: root/ports/cutelyst2/fix-static-build.patch
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-07-22 14:12:29 +0800
committerPhil Christensen <philc@microsoft.com>2019-07-21 23:12:29 -0700
commit2de02e53344f208910b5380ebfed7e23cf6872a9 (patch)
tree1c86df214fd9b43cfd931e98d1d1fb540846267c /ports/cutelyst2/fix-static-build.patch
parentf700dee8eb4677d89d3919519613dee5e22c766e (diff)
downloadvcpkg-2de02e53344f208910b5380ebfed7e23cf6872a9.tar.gz
vcpkg-2de02e53344f208910b5380ebfed7e23cf6872a9.zip
[cutelyst2]Upgrade version to 2.8.0 (#7327)
Diffstat (limited to 'ports/cutelyst2/fix-static-build.patch')
-rw-r--r--ports/cutelyst2/fix-static-build.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/ports/cutelyst2/fix-static-build.patch b/ports/cutelyst2/fix-static-build.patch
new file mode 100644
index 000000000..e40cd1dab
--- /dev/null
+++ b/ports/cutelyst2/fix-static-build.patch
@@ -0,0 +1,38 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9a695fd..0667668 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -129,6 +129,33 @@ add_definitions(
+ -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00
+ )
+
++if (BUILD_WIN_STATIC)
++ add_definitions(
++ -DCutelyst2Qt5_EXPORTS
++ -DActionRenderView_EXPORTS
++ -DActionREST_EXPORTS
++ -DActionRoleACL_EXPORTS
++ -DCutelyst2Qt5Authentication_EXPORTS
++ -DCutelyst2Qt5Session_EXPORTS
++ -DCutelyst2Qt5StaticSimple_EXPORTS
++ -DCutelyst2Qt5StaticCompressed_EXPORTS
++ -DCutelyst2Qt5UtilsPagination_EXPORTS
++ -DCutelyst2Qt5StatusMessage_EXPORTS
++ -DCutelyst2Qt5Memcached_EXPORTS
++ -DCutelyst2Qt5MemcachedSessionStore_EXPORTS
++ -DCutelyst2Qt5CSRFProtection_EXPORTS
++ -DCutelyst2Qt5UtilsSql_EXPORTS
++ -DCutelyst2Qt5UtilsValidator_EXPORTS
++ -DCutelyst2Qt5UtilsLangSelect_EXPORTS
++ -DCutelyst2Qt5ViewClearSilver_EXPORTS
++ -DCutelyst2Qt5ViewEmail_EXPORTS
++ -DCutelyst2Qt5ViewGrantlee_EXPORTS
++ -DCutelyst2Qt5ViewJson_EXPORTS
++ -DCutelyst2Qt5Wsgi_EXPORTS
++ -DCutelyst2Qt5UserAgent_EXPORTS
++ )
++endif()
++
+ set(CMAKE_CXX_STANDARD 11)
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ set(CMAKE_CXX_EXTENSIONS OFF)