diff options
| author | ruki <[email protected]> | 2020-12-01 23:22:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-01 23:22:40 +0800 |
| commit | 52c431aaf71cf15c2f926657c60f20ce47309467 (patch) | |
| tree | eafd601d2a441dabaeb00c2c9ceda983cba167f8 | |
| parent | 2c4176be60a4d114aa6385c667aa30f0e9124af3 (diff) | |
ignore pacman package for windows platform
| -rw-r--r-- | xmake/modules/package/manager/find_package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/find_package.lua b/xmake/modules/package/manager/find_package.lua index f1bee8af7..ef76ff3b3 100644 --- a/xmake/modules/package/manager/find_package.lua +++ b/xmake/modules/package/manager/find_package.lua @@ -57,7 +57,7 @@ function _find_package_with_builtin_rule(package_name, opt) if opt.plat == os.subhost() and opt.arch == os.subarch() then -- find it from pacman - if is_subhost("linux", "msys") and find_tool("pacman") then + if is_subhost("linux", "msys") and not is_plat("windows") and find_tool("pacman") then table.insert(managers, "pacman") end |
