diff options
| author | ruki <[email protected]> | 2024-03-23 00:29:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-23 00:29:44 +0800 |
| commit | 7ada7b72ade732b361dd98b979354ad6bc2b4596 (patch) | |
| tree | e20be8e33e80af31277dda55010d704eace939ed /xmake/modules/package/tools/autoconf.lua | |
| parent | 6c78298c58fd710a28a42ea4ad77d34a41d5a655 (diff) | |
| parent | a4b0293cb473fb9da151ae1d55588316c69c2bb8 (diff) | |
Merge pull request #4866 from xmake-io/clangcl
Improve clang-cl toolchain support
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index b59e78cf1..9f4181b0b 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -68,7 +68,7 @@ end -- get msvc function _get_msvc(package) - local msvc = package:toolchain("msvc") or toolchain.load("msvc", {plat = package:plat(), arch = package:arch()}) + local msvc = package:toolchain("msvc") assert(msvc:check(), "vs not found!") -- we need to check vs envs if it has been not checked yet return msvc end |
