diff options
| -rw-r--r-- | xmake/modules/target/action/install/windows.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/target/action/install/windows.lua b/xmake/modules/target/action/install/windows.lua index 73e8f5ee3..dfb8d2bd3 100644 --- a/xmake/modules/target/action/install/windows.lua +++ b/xmake/modules/target/action/install/windows.lua @@ -42,6 +42,7 @@ end function _install_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) if os.isfile(path.join(outputdir, dllname)) then wprint("'%s' already exists in install dir, overwriting it from package(%s).", dllname, pkg:name()) end |
