From 617a9b55ce11143c54d0db92d3127efb334aea25 Mon Sep 17 00:00:00 2001 From: zeromake Date: Mon, 19 Dec 2022 13:37:47 +0800 Subject: fix: iphoneos repo build not target_minver flag --- xmake/modules/package/tools/xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.3.1