diff options
| -rw-r--r-- | xmake/modules/target/action/install/unix.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/target/action/install/unix.lua b/xmake/modules/target/action/install/unix.lua index af3f710a1..bd2a1cdb1 100644 --- a/xmake/modules/target/action/install/unix.lua +++ b/xmake/modules/target/action/install/unix.lua @@ -39,7 +39,7 @@ end function _install_shared_for_package(target, pkg, outputdir) for _, sopath in ipairs(table.wrap(pkg:get("libfiles"))) do if sopath:endswith(".so") or sopath:endswith(".dylib") then - local soname = path.filename(dllpath) + local soname = path.filename(sopath) if os.isfile(path.join(outputdir, soname)) then wprint("'%s' already exists in install dir, overwriting it from package(%s).", soname, pkg:name()) end |
