diff options
| -rw-r--r-- | xmake/modules/target/action/uninstall/windows.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/target/action/uninstall/windows.lua b/xmake/modules/target/action/uninstall/windows.lua index 2d686dacc..f783955bb 100644 --- a/xmake/modules/target/action/uninstall/windows.lua +++ b/xmake/modules/target/action/uninstall/windows.lua @@ -59,9 +59,10 @@ function uninstall_binary(target, opt) -- remove the dependent shared/windows (*.dll) target -- @see https://github.com/xmake-io/xmake/issues/961 for _, dep in ipairs(target:orderdeps()) do - if dep:targetkind() == "shared" and is_plat("windows", "mingw") then + if dep:targetkind() == "shared" then os.vrm(path.join(binarydir, path.filename(dep:targetfile()))) end + _uninstall_shared_for_packages(dep, binarydir) end -- uninstall shared libraries for packages |
