diff options
| author | ruki <[email protected]> | 2024-03-13 23:31:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-13 23:31:03 +0800 |
| commit | b8a172499db7d932eeefee72580f2d5435f8bcd6 (patch) | |
| tree | d1bba129ecae58c64506642a1ad95521d19aa287 | |
| parent | 0f77719ed8570dd5630b7212c5198788f396c54e (diff) | |
add objcopy in mingw
| -rw-r--r-- | xmake/toolchains/mingw/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/toolchains/mingw/xmake.lua b/xmake/toolchains/mingw/xmake.lua index 188b5ae8a..aceb90b93 100644 --- a/xmake/toolchains/mingw/xmake.lua +++ b/xmake/toolchains/mingw/xmake.lua @@ -73,6 +73,7 @@ toolchain("mingw") toolchain:add("toolset", "ar", cross .. "ar") toolchain:add("toolset", "strip", cross .. "strip") toolchain:add("toolset", "ranlib", cross .. "ranlib") + toolchain:add("toolset", "objcopy", cross .. "objcopy") toolchain:add("toolset", "mrc", cross .. "windres") if is_host("windows") and bindir then -- we use bin/gcc.exe if cross not found |
