openssl -> openssl3

pull/5019/head
star9029 3 months ago
parent 1eeb84e2d3
commit 4eb7ae9263
  1. 4
      packages/m/minio-cpp/xmake.lua

@ -14,11 +14,9 @@ package("minio-cpp")
add_deps("cmake", "pkgconf")
add_deps("nlohmann_json", {configs = {cmake = true}})
add_deps("inih", {configs = {ini_parser = true}})
add_deps("openssl", "curlpp", "pugixml", "zlib")
add_deps("openssl3", "curlpp", "pugixml", "zlib")
on_install("windows", "linux", "macosx", "mingw", function (package)
io.replace("src/utils.cc", "#include <openssl/types.h>", "", {plain = true})
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))

Loading…
Cancel
Save