summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorruki <[email protected]>2020-10-09 23:00:46 +0800
committerruki <[email protected]>2020-10-09 23:00:46 +0800
commitd3bfdfc1d50ebf2ad031b7805cac7590f4bd59ef (patch)
tree8a2e1006d58e37a1b6d68c29ccb91922c78f01ac /xmake/modules/private
parent1009a225a30be32bc6db608878ff09cb2b85fcda (diff)
improve autotools
Diffstat (limited to 'xmake/modules/private')
-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