From b8a172499db7d932eeefee72580f2d5435f8bcd6 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 13 Mar 2024 23:31:03 +0800 Subject: add objcopy in mingw --- xmake/toolchains/mingw/xmake.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.3.1