浏览代码

improve python

ruki 4 年之前
父节点
当前提交
ce9ffc84f0
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packages/p/python/xmake.lua
  2. 1 1
      packages/p/python2/xmake.lua

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

@@ -28,7 +28,7 @@ package("python")
         add_deps("openssl", {host = true})
     end
 
-    if is_plat("linux") then
+    if is_host("linux") then
         add_syslinks("util", "pthread", "dl")
     end
 

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

@@ -25,7 +25,7 @@ package("python2")
         add_deps("openssl", {host = true})
     end
 
-    if is_plat("linux") then
+    if is_host("linux") then
         add_syslinks("util", "pthread", "dl")
     end