diff --git a/packages/m/meson/xmake.lua b/packages/m/meson/xmake.lua index 39df01fd3..1db1b813b 100644 --- a/packages/m/meson/xmake.lua +++ b/packages/m/meson/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()) diff --git a/packages/n/ninja/xmake.lua b/packages/n/ninja/xmake.lua index d361fb1de..bf2d6f709 100644 --- a/packages/n/ninja/xmake.lua +++ b/packages/n/ninja/xmake.lua @@ -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)