diff options
| author | ruki <[email protected]> | 2024-03-09 00:56:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-09 00:56:03 +0800 |
| commit | 927f7fcf64775133f351f0a4a4104a4b971dd9b8 (patch) | |
| tree | 11526eaaeb755a623ffe9a98fe71bfba49144bc7 /xmake/modules/package/tools/autoconf.lua | |
| parent | 69874353216f145a5a8c1b06ab71085cb3f2a4a0 (diff) | |
improve tools.autoconf
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 8fdf245b9..3555a624b 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -418,7 +418,7 @@ function buildenvs(package, opt) envs.ACLOCAL_PATH = path.joinenv(ACLOCAL_PATH) -- fix PKG_CONFIG_PATH for windows/msys2 -- @see https://github.com/xmake-io/xmake-repo/issues/3442 - if is_subhost("msys", "cygwin") then + if package:is_plat("windows") then -- pkg-config can only support for unix path and env seperator on msys/cygwin PKG_CONFIG_PATH = _translate_cygwin_paths(PKG_CONFIG_PATH) envs.PKG_CONFIG_PATH = path.joinenv(PKG_CONFIG_PATH, ":") |
