Browse Source

disable precompiled pacakge for meson (#1938)

ruki 2 years ago
parent
commit
7e18323d2b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/m/meson/xmake.lua

+ 3 - 0
packages/m/meson/xmake.lua

@@ -20,6 +20,9 @@ package("meson")
 
     add_deps("python 3.x", {kind = "binary"})
 
+    -- https://github.com/xmake-io/xmake-repo/issues/1937
+    set_policy("package.precompiled", false)
+
     on_install("@macosx", "@linux", "@windows", function (package)
         local envs = {PYTHONPATH = package:installdir()}
         local python = package:is_plat("windows") and "python" or "python3"