diff options
Diffstat (limited to 'xmake/modules')
| -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 |
