diff options
| author | ruki <[email protected]> | 2024-03-23 00:44:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-23 00:44:39 +0800 |
| commit | a3a7f76fe2f10792cedf4198d2b5db51f64cb721 (patch) | |
| tree | cc860ae37569900d9c91fdfc89abcd814acf522a /xmake/modules/package/tools/autoconf.lua | |
| parent | 9d0df4ca022d1f2ee74801c84e4930422a681ba9 (diff) | |
improve package:toolchain
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 |
