diff options
| author | ruki <[email protected]> | 2025-12-07 12:06:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-07 17:15:59 +0800 |
| commit | 774c5110ef60f2878d3a2f503c7a55db4943a1cb (patch) | |
| tree | 4991d0e5e2c860db91ce5add1791942973c53674 /xmake/core | |
| parent | 582aeb5720c2a75b7dd231c68403976db8123c4a (diff) | |
add zeroend
Diffstat (limited to 'xmake/core')
| -rw-r--r-- | xmake/core/sandbox/modules/utils.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua index b3453cb92..3601c1470 100644 --- a/xmake/core/sandbox/modules/utils.lua +++ b/xmake/core/sandbox/modules/utils.lua @@ -160,8 +160,8 @@ end -- generate COFF object file from the binary file if utils.bin2coff then - function sandbox_utils.bin2coff(binaryfile, outputfile, symbol_prefix, arch, basename) - local ok, errors = utils.bin2coff(binaryfile, outputfile, symbol_prefix, arch, basename) + function sandbox_utils.bin2coff(binaryfile, outputfile, symbol_prefix, arch, basename, plat, zeroend) + local ok, errors = utils.bin2coff(binaryfile, outputfile, symbol_prefix, arch, basename, plat, zeroend) if not ok then os.raise(errors) end @@ -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, plat, arch, basename, target_minver, xcode_sdkver) - local ok, errors = utils.bin2macho(binaryfile, outputfile, symbol_prefix, plat, arch, basename, target_minver, xcode_sdkver) + function sandbox_utils.bin2macho(binaryfile, outputfile, symbol_prefix, plat, arch, basename, target_minver, xcode_sdkver, zeroend) + local ok, errors = utils.bin2macho(binaryfile, outputfile, symbol_prefix, plat, arch, basename, target_minver, xcode_sdkver, zeroend) if not ok then os.raise(errors) end |
