Skip to content

Commit

Permalink
fix syslinks
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Oct 4, 2024
1 parent 8461d55 commit 947f328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/w/wolfssl/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ package("wolfssl")
add_configs("openssl_all", {description = "Enable all OpenSSL API, size++", default = false, type = "boolean"})

if is_plat("windows", "mingw") then
add_syslinks("ws2_32", "crypt32")
add_syslinks("ws2_32", "crypt32", "advapi32")
elseif is_plat("linux", "bsd") then
add_syslinks("pthread", "m")
elseif is_plat("macosx") then
elseif is_plat("macosx", "iphoneos") then
add_frameworks("CoreFoundation", "Security")
end

Expand Down

0 comments on commit 947f328

Please sign in to comment.