summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-03-30 23:43:57 +0800
committerruki <[email protected]>2022-03-30 23:43:57 +0800
commit303d39e70a1d4c685e6a62d5739043e75fcebb39 (patch)
treed3d2f5c818bbe477d5b2a4c4020ec96e96f027e1
parent49a1c267f486abd238423ec7730348a232a72ca4 (diff)
pass arflags
-rw-r--r--xmake/modules/package/tools/autoconf.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index a960789ce..7e3c72f55 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -204,6 +204,7 @@ function buildenvs(package, opt)
table.join2(asflags, opt.asflags)
table.join2(ldflags, opt.ldflags)
table.join2(shflags, opt.shflags)
+ table.join2(arflags, opt.arflags)
table.join2(cflags, _get_cflags_from_packagedeps(package, opt))
table.join2(cxxflags, _get_cflags_from_packagedeps(package, opt))
table.join2(cppflags, _get_cflags_from_packagedeps(package, opt))