|
@@ -6,11 +6,12 @@ package("ixwebsocket")
|
|
|
add_urls("https://github.com/machinezone/IXWebSocket/archive/refs/tags/$(version).tar.gz",
|
|
|
"https://github.com/machinezone/IXWebSocket.git")
|
|
|
|
|
|
+ add_versions("v11.4.5", "c5fc225edec32bf7d583e55347ef2c9c4940d005c13ef5e848354a85602f5fd6")
|
|
|
add_versions("v11.4.4", "9ef7fba86a91ce18693451466ddc54b1e0c4a7dc4466c3028d888d6d55dde539")
|
|
|
|
|
|
local default_ssl = nil
|
|
|
if not is_plat("windows") then
|
|
|
- if is_plat("iphoneos") or is_plat("wasm") then
|
|
|
+ if is_plat("android", "iphoneos", "wasm") then
|
|
|
default_ssl = "mbedtls"
|
|
|
else
|
|
|
default_ssl = "openssl"
|
|
@@ -99,4 +100,3 @@ package("ixwebsocket")
|
|
|
}
|
|
|
]]}, {configs = {languages = "cxx11"}}))
|
|
|
end)
|
|
|
-
|