From 861286dcb6caaa7b7a9817a2e9804eeb2e868b59 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 11 Oct 2025 00:50:08 +0800 Subject: revert implib --- xmake/core/project/target.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 3f9e7b813..2f69abdd8 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -1656,13 +1656,13 @@ end -- get the extra build artifact file -- -- supported artifact kinds: --- 1. implib: windows DLL/EXE implib(.lib, .dll.a) +-- 1. implib: windows DLL implib(.lib, .dll.a) -- -- otherwise returns nil -- function _instance:artifactfile(kind) if kind == "implib" then - if (self:is_shared() or self:is_binary()) and self:is_plat("windows", "mingw") then + if self:is_shared() and self:is_plat("windows", "mingw") then return path.join(self:_artifactdir("libdir"), path.basename(self:filename()) .. (self:is_plat("mingw") and ".dll.a" or ".lib")) end end -- cgit v1.3.1