diff options
| author | Jérôme Leclercq <[email protected]> | 2023-01-29 14:51:31 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-29 14:51:31 +0100 |
| commit | a9ffdd5fca71e90607ecd38195dde55af7366df9 (patch) | |
| tree | 4994c6468ff3e8769461f15f474047a0a861d5ee | |
| parent | f87eac79c27faacbd27ac9fb50ce704e1f6b1ec5 (diff) | |
Fix mixup between DYLD_LIBRARY_PATH and LD_LIBRARY_PATH
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index 63ddfae63..f39eacb4d 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -293,9 +293,9 @@ function _target_addenvs(envs) if is_host("windows") then _addenvs(envs, "PATH", target:targetdir()) elseif is_host("macosx") then - _addenvs(envs, "LD_LIBRARY_PATH", target:targetdir()) - else _addenvs(envs, "DYLD_LIBRARY_PATH", target:targetdir()) + else + _addenvs(envs, "LD_LIBRARY_PATH", target:targetdir()) end end -- add run environments |
