aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-11-08 14:05:28 +0100
committerGitHub <[email protected]>2023-11-08 14:05:28 +0100
commit9e20e6c9f46420c88969236fa0cb64b31109d967 (patch)
tree0ca61a578c143bfb39d3c922519e727256d71b26 /xmake.lua
parentchanged logic around sponsor process monitoring (#522) (diff)
downloadzen-9e20e6c9f46420c88969236fa0cb64b31109d967.tar.xz
zen-9e20e6c9f46420c88969236fa0cb64b31109d967.zip
implemented openssl-free encryption for Windows (#520)
trims 40% off the (Windows) executable size
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 9a5dc0ffa..bfcdc5698 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -26,7 +26,9 @@ set_policy("build.ccache", false)
if is_plat("linux") then
add_requires("vcpkg::openssl 3.0.8")
-else
+elseif is_plat("windows") then
+ add_defines("ZEN_USE_OPENSSL=0")
+else
add_requires("vcpkg::openssl")
end