summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/toolchains/mingw/xmake.lua1
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