summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
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