summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-27 22:35:34 +0800
committerruki <[email protected]>2024-02-27 22:35:34 +0800
commitca46413dddc2c7aeb4c445ee5c3c4d1ead664e49 (patch)
tree5ed6accc91d05ddd5992c2d65fb0e2cae6d4869e
parent28a6578a355a1b70826a11ee6cf002cbf799f266 (diff)
fix soname for linux #4776
-rw-r--r--xmake/rules/linker/soname/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/linker/soname/xmake.lua b/xmake/rules/linker/soname/xmake.lua
index b82b52794..3f756a74b 100644
--- a/xmake/rules/linker/soname/xmake.lua
+++ b/xmake/rules/linker/soname/xmake.lua
@@ -26,7 +26,7 @@ rule("linker.soname")
if target:is_plat("macosx", "iphoneos", "watchos", "appletvos") then
target:add("shflags", "-Wl,-install_name,@rpath/" .. soname, {force = true})
else
- target:add("shflags", "-Wl,-soname,@rpath/" .. soname, {force = true})
+ target:add("shflags", "-Wl,-soname," .. soname, {force = true})
end
target:data_set("soname.enabled", true)
end