diff options
| author | ruki <[email protected]> | 2021-08-19 15:49:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-19 15:49:46 +0800 |
| commit | d5ef6455a7ae27dcbea4cc3b977f45b48f7e563e (patch) | |
| tree | 4abc03b87d6ba6ea6174e8416e23bc9dc0b88ed2 | |
| parent | cb3eac93540c40ab120efa588c3882c21c61881c (diff) | |
Update unix.lua
| -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 |
