summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-19 15:47:51 +0800
committerGitHub <[email protected]>2021-08-19 15:47:51 +0800
commitcb3eac93540c40ab120efa588c3882c21c61881c (patch)
treef60ecac3f2246a881f5e2535f577afd47685bfec
parent0750e9f48dba55600eae8e0068297a1cded6859a (diff)
Update windows.lua
-rw-r--r--xmake/modules/target/action/uninstall/windows.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/target/action/uninstall/windows.lua b/xmake/modules/target/action/uninstall/windows.lua
index f45028303..236b045e3 100644
--- a/xmake/modules/target/action/uninstall/windows.lua
+++ b/xmake/modules/target/action/uninstall/windows.lua
@@ -31,6 +31,7 @@ end
function _uninstall_shared_for_package(target, pkg, outputdir)
for _, dllpath in ipairs(table.wrap(pkg:get("libfiles"))) do
if dllpath:endswith(".dll") then
+ local dllname = path.filename(dllpath)
os.vrm(path.join(outputdir, dllname))
end
end