Skip to content

Commit

Permalink
update for cross compile
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jul 31, 2024
1 parent 5706ae7 commit da373a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ if has_config("http_client") or has_config("node") then
add_requires("nlohmann_json")
if is_kind("shared") then
add_requires("nng", {configs = {NNG_ENABLE_TLS = has_config("http_client_ssl"), cxflags = "-fPIC"}})
add_requireconfs("nng.mbedtls", {override = true, configs = {cxflags = "-fPIC"}})
add_requireconfs("nng.mbedtls", {configs = {cxflags = "-fPIC"}})
else
add_requires("nng", {configs = {NNG_ENABLE_TLS = has_config("http_client_ssl")}})
end
Expand Down

0 comments on commit da373a5

Please sign in to comment.