fix meson for windows

pull/18/head
ruki 6 years ago
parent 6b7088af59
commit 80526c8de0
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 1
      packages/m/meson/xmake.lua

@ -14,6 +14,7 @@ package("meson")
local version = package:dep("python"):version()
local envs = {}
if is_host("windows") then
package:addenv("PATH", "Scripts")
envs.PYTHONPATH = package:installdir("Lib", "site-packages")
else
envs.PYTHONPATH = package:installdir("lib", "python" .. version:major() .. "." .. version:minor(), "site-packages")

Loading…
Cancel
Save