Skip to content

Commit

Permalink
openssl: skip building tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Dec 29, 2024
1 parent d5e12bc commit 661f083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/o/openssl/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ package("openssl")

on_install("linux", "macosx", "bsd", "cross", "android", "iphoneos", "mingw", function (package)
-- https://wiki.openssl.org/index.php/Compilation_and_Installation#PREFIX_and_OPENSSLDIR
local configs = {}
local configs = {"no-tests"}
if package:is_cross() or package:is_plat("mingw") then
local target_plat, target_arch
if package:is_plat("macosx") then
Expand Down Expand Up @@ -215,7 +215,7 @@ package("openssl")
perl.use_unix_path = working_dir:find("/") == 1
import("configure.patch")(package, {perl = perl})
if package:is_cross() or package:is_plat("mingw") then
os.vrunv(perl.program, table.join("./Configure", "no-tests", configs), {envs = buildenvs})
os.vrunv(perl.program, table.join("./Configure", configs), {envs = buildenvs})
else
os.vrunv("./config", configs, {shell = true, envs = buildenvs})
end
Expand Down

0 comments on commit 661f083

Please sign in to comment.