Răsfoiți Sursa

add host for python3/ssl

ruki 6 ani în urmă
părinte
comite
77af2a93b4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/p/python/xmake.lua

+ 1 - 1
packages/p/python/xmake.lua

@@ -37,7 +37,7 @@ package("python")
     end
     end
 
 
     if is_host("macosx", "linux") then
     if is_host("macosx", "linux") then
-        add_deps("openssl", {plat = os.host(), arch = os.arch()})
+        add_deps("openssl", {host = true})
     end
     end
 
 
     on_load(function (package)
     on_load(function (package)