diff options
| author | ruki <[email protected]> | 2025-10-11 00:50:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-11 00:50:08 +0800 |
| commit | 861286dcb6caaa7b7a9817a2e9804eeb2e868b59 (patch) | |
| tree | ac843d1ec571a712bc51b62eeb4b6df8d7d45dd1 | |
| parent | aee72b64c8442750a02b23b6096543797702ce2b (diff) | |
revert implib
| -rw-r--r-- | xmake/core/project/target.lua | 4 |
1 files 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 |
