summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChan Lee <[email protected]>2025-04-10 13:05:11 +0800
committerChan Lee <[email protected]>2025-04-10 13:05:11 +0800
commit389765de963238987ebe27b8237554bdffb7bfdc (patch)
tree37e4b244e13c16c9e8d1bed567df8a44f6422903
parentfa122559e2fcb560f7be7b6f61241b8caf524c65 (diff)
package(autoconf): resolve issue with backslash-separated `CXX` path in MSYS
-rw-r--r--xmake/modules/package/tools/autoconf.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index 8d312a76a..821ab759f 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -434,6 +434,7 @@ function buildenvs(package, opt)
if is_host("windows") then
envs.CC = _translate_windows_bin_path(envs.CC)
+ envs.CXX = _translate_windows_bin_path(envs.CXX)
envs.AS = _translate_windows_bin_path(envs.AS)
envs.AR = _translate_windows_bin_path(envs.AR)
envs.LD = _translate_windows_bin_path(envs.LD)