diff options
| author | ruki <[email protected]> | 2024-02-27 22:35:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-27 22:35:34 +0800 |
| commit | ca46413dddc2c7aeb4c445ee5c3c4d1ead664e49 (patch) | |
| tree | 5ed6accc91d05ddd5992c2d65fb0e2cae6d4869e | |
| parent | 28a6578a355a1b70826a11ee6cf002cbf799f266 (diff) | |
fix soname for linux #4776
| -rw-r--r-- | xmake/rules/linker/soname/xmake.lua | 2 |
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 |
