diff options
| author | ruki <[email protected]> | 2021-04-18 22:35:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-18 22:35:51 +0800 |
| commit | 4bb2d8aa6465cc1040b55557329bebb55e75c0bc (patch) | |
| tree | ed7077f1f83fa61be20c52a7daeee690d6159aac | |
| parent | 0cbab6fb988de83385662cfe84428e96db7ab098 (diff) | |
fix autoreconf on msys
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/action/trybuild/autotools.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index c40fbafda..768ee20db 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -266,7 +266,7 @@ function configure(package, configs, opt) if os.isfile("autogen.sh") then os.vrunv("sh", {"./autogen.sh"}, {envs = autogen_envs(package, opt)}) elseif os.isfile("configure.ac") then - os.vrunv("autoreconf", {"--install", "--symlink"}, {envs = autogen_envs(package, opt)}) + os.vrunv("sh", {"autoreconf", "--install", "--symlink"}, {envs = autogen_envs(package, opt)}) end end diff --git a/xmake/modules/private/action/trybuild/autotools.lua b/xmake/modules/private/action/trybuild/autotools.lua index ae0f532ae..14434f1c5 100644 --- a/xmake/modules/private/action/trybuild/autotools.lua +++ b/xmake/modules/private/action/trybuild/autotools.lua @@ -223,7 +223,7 @@ function build() if os.isfile("autogen.sh") then os.vexecv("sh", {"./autogen.sh"}) elseif os.isfile("configure.ac") then - os.vexec("autoreconf --install --symlink") + os.vexecv("sh", {"autoreconf", "--install", "--symlink"}) end end |
