summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-07-23 22:13:48 +0800
committerruki <[email protected]>2021-07-23 22:25:04 +0800
commit1b0f62a23c00ee37fad8c5a1059bb91b6dba1c33 (patch)
tree14ca15c6f0808c06ec232dbe5bf68e22277b7727 /xmake/modules/package/tools/autoconf.lua
parent0bb950f62e018a4530f8bb72a4dd5fdd5591654d (diff)
Update autoconf.lua
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index 4536580ae..209e6c68a 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -26,7 +26,7 @@ import("core.tool.compiler")
-- translate path
function _translate_path(package, p)
- if p and is_host("windows") and package:is_plat("mingw") then
+ if p and is_host("windows") and (package:is_plat("mingw") or package:is_plat("msys") or package:is_plat("cygwin")) then
p = p:gsub("\\", "/")
end
return p