Browse Source

fix package name

star9029 1 năm trước cách đây
mục cha
commit
29192ff2c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/c/cpp-httplib/xmake.lua

+ 1 - 1
packages/c/cpp-httplib/xmake.lua

@@ -67,7 +67,7 @@ package("cpp-httplib")
         table.insert(configs, "-DHTTPLIB_NO_EXCEPTIONS=" .. (package:config("exceptions") and "OFF" or "ON"))
 
         if package:config("ssl") then
-            local openssl = package:dep("openssl")
+            local openssl = package:dep("openssl" .. (package:version():ge("0.15.0") and "3" or ""))
             if not openssl:is_system() then
                 table.insert(configs, "-DOPENSSL_ROOT_DIR=" .. openssl:installdir())
             end