summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2023-06-09 07:39:17 +0200
committerGitHub <[email protected]>2023-06-09 07:39:17 +0200
commit4ebf83eebe32704a5b7b286952b1b36fca643ac1 (patch)
tree6ec14f60da8feddae9ebdd981f149f624542108c
parentd23314a2e7f2b7a9a9e917fa88a3b4abbdee423f (diff)
Update make_runenvs.lua
-rw-r--r--xmake/modules/private/action/run/make_runenvs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/run/make_runenvs.lua b/xmake/modules/private/action/run/make_runenvs.lua
index 6f1ff3c04..8b804e3fc 100644
--- a/xmake/modules/private/action/run/make_runenvs.lua
+++ b/xmake/modules/private/action/run/make_runenvs.lua
@@ -38,7 +38,7 @@ function _make_runpath_on_windows(target)
-- recursively add targets and dep targets linkdirs
local seentargets = hashset.new()
local function insert_target(target)
- if seentargets:insert(target)
+ if seentargets:insert(target) then
for _, linkdir in ipairs(target:get("linkdirs")) do
insert(linkdir)
end