summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/trybuild/autotools.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/action/trybuild/autotools.lua')
-rw-r--r--xmake/modules/private/action/trybuild/autotools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/trybuild/autotools.lua b/xmake/modules/private/action/trybuild/autotools.lua
index 095d41712..6c35bdbb0 100644
--- a/xmake/modules/private/action/trybuild/autotools.lua
+++ b/xmake/modules/private/action/trybuild/autotools.lua
@@ -204,7 +204,7 @@ function build()
-- do configure
local configfile = find_file("[mM]akefile", os.curdir())
if not configfile or os.mtime(config.filepath()) > os.mtime(configfile) then
- os.vexecv("./configure", _get_configs(artifacts_dir), {envs = _get_buildenvs()})
+ os.vexecv("sh", table.join("./configure", _get_configs(artifacts_dir)), {envs = _get_buildenvs()})
end
-- do build