From a9ffdd5fca71e90607ecd38195dde55af7366df9 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Sun, 29 Jan 2023 14:51:31 +0100 Subject: Fix mixup between DYLD_LIBRARY_PATH and LD_LIBRARY_PATH --- xmake/modules/private/xrepo/action/env.lua | 4 ++-- 1 file 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 -- cgit v1.3.1