summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-07 11:17:46 +0800
committerruki <[email protected]>2025-12-07 17:15:59 +0800
commitcae5b0a17dc7d0eb5599c0d5a92fab69d39983d5 (patch)
treed459ac9eeb285bb4ba48d7ef5a5f9da375b53434 /xmake/core/sandbox/modules/utils.lua
parent00f6b0ba403a86ad542a1fbecc142064aa641f0d (diff)
support for iphoneos in bin2macho
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 694447924..b6dfedd45 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -170,8 +170,8 @@ end
-- generate Mach-O object file from the binary file
if utils.bin2macho then
- function sandbox_utils.bin2macho(binaryfile, outputfile, symbol_prefix, arch, basename)
- local ok, errors = utils.bin2macho(binaryfile, outputfile, symbol_prefix, arch, basename)
+ function sandbox_utils.bin2macho(binaryfile, outputfile, symbol_prefix, plat, arch, basename)
+ local ok, errors = utils.bin2macho(binaryfile, outputfile, symbol_prefix, plat, arch, basename)
if not ok then
os.raise(errors)
end