Explorar o código

update python

ruki %!s(int64=4) %!d(string=hai) anos
pai
achega
ac9d3937f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/p/python/xmake.lua

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

@@ -236,7 +236,7 @@ package("python")
         if package:kind() ~= "binary" then
             assert(package:has_cfuncs("PyModule_New", {includes = "Python.h"}))
         end
-        if is_host("windows") and package:version():ge("3.8.0") then
+        if is_host("windows") and package:version():ge("3.8.0") and winos.version():gt("win8") then
             os.vrun("py -3 -c \"import sys\"")
         end
     end)