diff options
| -rw-r--r-- | xmake/modules/private/action/run/make_runenvs.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/private/action/run/make_runenvs.lua b/xmake/modules/private/action/run/make_runenvs.lua index 0f6bdd5d2..617bd64eb 100644 --- a/xmake/modules/private/action/run/make_runenvs.lua +++ b/xmake/modules/private/action/run/make_runenvs.lua @@ -43,6 +43,11 @@ function _make_runpath_on_windows(target) insert(linkdir) end end + for _, pkg in ipairs(target:orderpkgs()) do + for _, linkdir in ipairs(pkg:get("linkdirs")) do + insert(linkdir) + end + end for _, dep in ipairs(target:orderdeps()) do if dep:targetkind() == "shared" then insert(dep:targetdir()) |
