summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-19 16:34:14 +0800
committerGitHub <[email protected]>2022-12-19 16:34:14 +0800
commitf910ba5d29ac71e54aa3a340d0dcca138d23cf91 (patch)
tree0fe9b29697ed4eca1293c541ec5f106a6371e690
parentba059f5723f290bea5682cfac0534739e66cf219 (diff)
parent617a9b55ce11143c54d0db92d3127efb334aea25 (diff)
Merge pull request #3183 from zeromake/master
fix: iphoneos repo build not target_minver flag
-rw-r--r--xmake/modules/package/tools/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index b737fd286..25f038b77 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -63,6 +63,10 @@ function _get_configs(package, configs, opt)
if appledev then
table.insert(configs, "--appledev=" .. appledev)
end
+ local target_minver = get_config("target_minver")
+ if target_minver then
+ table.insert(configs, "--target_minver=" .. target_minver)
+ end
elseif package:is_plat("cross") then
local cross = _get_config_from_toolchains(package, "cross") or get_config("cross")
if cross then