From 4eb7ae9263c2208d88e58f27469ac880a2010973 Mon Sep 17 00:00:00 2001 From: star9029 Date: Sat, 24 Aug 2024 08:42:30 +0800 Subject: [PATCH] openssl -> openssl3 --- packages/m/minio-cpp/xmake.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/m/minio-cpp/xmake.lua b/packages/m/minio-cpp/xmake.lua index 6e1b8fe83..733c96077 100644 --- a/packages/m/minio-cpp/xmake.lua +++ b/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 ", "", {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"))