aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-26 19:39:53 +0100
committerStefan Boberg <[email protected]>2025-10-26 19:39:53 +0100
commit60850738387deae45db61d7e549a026c9021a9a8 (patch)
treeba6454dae5275820c38f9490c1acea145aec2b2a /src/zenhttp/xmake.lua
parentremove vcpkg from github actions (diff)
downloadzen-60850738387deae45db61d7e549a026c9021a9a8.tar.xz
zen-60850738387deae45db61d7e549a026c9021a9a8.zip
curl default to mbedtls in package definition
also bumped Linux sentry-native to 0.7.6 to match other targets
Diffstat (limited to 'src/zenhttp/xmake.lua')
-rw-r--r--src/zenhttp/xmake.lua19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/zenhttp/xmake.lua b/src/zenhttp/xmake.lua
index 434330501..923e339d5 100644
--- a/src/zenhttp/xmake.lua
+++ b/src/zenhttp/xmake.lua
@@ -9,24 +9,9 @@ target('zenhttp')
add_includedirs("include", {public=true})
add_deps("zencore", "zentelemetry", "transport-sdk", "asio", "cpr")
add_deps("gsl-lite")
- add_packages(
- "curl", -- required by cpr
- "http_parser"
- )
+ add_packages("http_parser")
add_options("httpsys")
if is_plat("linux") then
- -- The 'vcpkg::openssl' package is two libraries; ssl and crypto, with
- -- ssl being dependent on symbols in crypto. When GCC-like linkers read
- -- object files from their command line, those object files only resolve
- -- symbols of objects previously encountered. Thus crypto must appear
- -- after ssl so it can fill out ssl's unresolved symbol table. Xmake's
- -- vcpkg support is basic and works by parsing .list files. Openssl's
- -- archives are listed alphabetically causing crypto to be _before_ ssl
- -- and resulting in link errors. The links are restated here to force
- -- xmake to use the correct order, and "syslinks" is used to force the
- -- arguments to the end of the line (otherwise they can appear before
- -- curl and cause more errors).
- add_syslinks("crypto")
- add_syslinks("dl")
+ add_syslinks("dl") -- TODO: is libdl needed?
end