summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-01-28 17:48:23 +0300
committerSaikari <[email protected]>2026-01-28 17:48:23 +0300
commitc94c14fb23d09af85672f2e7dd1081b4976822c5 (patch)
treef962969ef8d94c11bf7e6935387938ac67a81d0f
parentc2eac69333f1e9b357f062c925f08b93463ec621 (diff)
fix: remove unnecessary rpathdirs handling in build_sourcefiles function
-rw-r--r--xmake/rules/nim/build/target.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/rules/nim/build/target.lua b/xmake/rules/nim/build/target.lua
index ba6750e6b..fdef292d4 100644
--- a/xmake/rules/nim/build/target.lua
+++ b/xmake/rules/nim/build/target.lua
@@ -107,11 +107,7 @@ function build_sourcefiles(target, sourcebatch, opt)
end
-- add rpathdirs to linker flags (for shared lib support)
- local rpathdirs = target:get("rpathdirs") or {}
local rpathdirs_wrap = {}
- if rpathdirs then
- table.join2(rpathdirs_wrap, table.wrap(rpathdirs))
- end
-- add rpathdirs from dependencies
if target:kind() == "binary" or target:kind() == "shared" then