diff options
| author | ruki <[email protected]> | 2023-07-25 22:58:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-07-25 22:58:58 +0800 |
| commit | 3160045851a53d4ae014f7827e5cd34ac88fe647 (patch) | |
| tree | 7ffd12ece3ea73a6d2a34bccab3d3cd6ec656c6a | |
| parent | a3e23ab114d738d911b862644b97c5061e401140 (diff) | |
disable some platforms for soname
| -rw-r--r-- | xmake/core/project/target.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 4d9a49150..e0b2ebdd2 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -657,6 +657,9 @@ function _instance:soname() if not self:is_shared() then return end + if not self:is_plat("macosx", "linux", "bsd", "cross") then + return + end local version = self:get("version") local version_soname if version then |
