summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-28 08:09:51 +0800
committerruki <[email protected]>2024-04-28 08:09:51 +0800
commit61498e2197e74a0d77bfad7472eefcc6ea565e45 (patch)
tree4ee728bd9cd09a1c654199f74da03fdbb9fe6bd0 /xmake/modules/package/tools/autoconf.lua
parent650ae53243aee978d4fc20ea1a4c881e9a3aa308 (diff)
improve autoconf
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-rw-r--r--xmake/modules/package/tools/autoconf.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index d5a53265d..11087b77a 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -343,7 +343,8 @@ function buildenvs(package, opt)
envs.LDFLAGS = table.concat(_translate_paths(ldflags), ' ')
end
if shflags then
- envs.SHFLAGS = table.concat(_translate_paths(shflags), ' ')
+ -- autoconf does not use SHFLAGS
+ envs.LDFLAGS = table.concat(_translate_paths(shflags), ' ')
end
-- cross-compilation? pass the full build environments