diff options
| author | ruki <[email protected]> | 2024-07-17 21:01:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-17 21:01:24 +0800 |
| commit | df131f5ad79bc1e1da43ef796ce5e398c101059f (patch) | |
| tree | 2f8a85512cfaa012627fce11863007cf2be1f136 /xmake/modules/target/action | |
| parent | 61325d912523d963241467a3dc5a2e20fe63ef42 (diff) | |
enable soname
Diffstat (limited to 'xmake/modules/target/action')
| -rw-r--r-- | xmake/modules/target/action/install/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/target/action/install/main.lua b/xmake/modules/target/action/install/main.lua index aaa99c4f2..f8acc0e81 100644 --- a/xmake/modules/target/action/install/main.lua +++ b/xmake/modules/target/action/install/main.lua @@ -141,8 +141,8 @@ function _update_install_rpath(target, opt) end local bindir = target:bindir() local targetfile = path.join(bindir, target:filename()) - rpath_utils.clean(targetfile, {plat = target:plat(), arch = target:arch()}) if target:policy("install.rpath") then + rpath_utils.clean(targetfile, {plat = target:plat(), arch = target:arch()}) local result, sources = target:get_from("rpathdirs", "*") if result and sources then for idx, rpathdirs in ipairs(result) do |
