fix python conflict for meson

pull/18/head
ruki 6 years ago
parent 130d7c8c3a
commit 62fe5d23a0
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/m/meson/xmake.lua
  2. 2
      packages/n/ninja/xmake.lua

@ -9,7 +9,7 @@ package("meson")
add_versions("0.50.1", "f68f56d60c80a77df8fc08fa1016bc5831605d4717b622c96212573271e14ecc")
add_deps("ninja", "python 3.x")
on_install("macosx", "linux", "windows", function (package)
import("core.base.semver")
local version = semver.new(package:dep("python"):version_str())

@ -17,7 +17,7 @@ package("ninja")
end
if is_host("linux") then
add_deps("python 2.x")
add_deps("python2")
end
on_install("windows", function (package)

Loading…
Cancel
Save