diff options
| -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 |
