mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
fix : xmake link openssl in macos
This commit is contained in:
@@ -3,9 +3,6 @@ set_default(false)
|
||||
|
||||
add_deps("workflow")
|
||||
|
||||
add_links("crypto")
|
||||
add_links("ssl")
|
||||
|
||||
if not is_os("macosx") then
|
||||
add_ldflags("-lrt")
|
||||
end
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
includes("**/xmake.lua")
|
||||
|
||||
add_links("crypto")
|
||||
add_links("ssl")
|
||||
|
||||
target("workflow")
|
||||
if (get_config("type") == "static") then
|
||||
set_kind("static")
|
||||
|
||||
@@ -6,8 +6,6 @@ add_requires("gtest")
|
||||
add_deps("workflow")
|
||||
|
||||
add_packages("gtest")
|
||||
add_links("crypto")
|
||||
add_links("ssl")
|
||||
add_links("gtest_main")
|
||||
|
||||
if not is_os("macosx") then
|
||||
|
||||
@@ -5,9 +5,6 @@ if not is_os("macosx") then
|
||||
add_ldflags("-lrt")
|
||||
end
|
||||
|
||||
add_links("crypto")
|
||||
add_links("ssl")
|
||||
|
||||
function all_examples()
|
||||
local res = {}
|
||||
for _, x in ipairs(os.files("*.cc")) do
|
||||
|
||||
Reference in New Issue
Block a user