From 163ed4a33a78904a2425c5ca7a6e9b53262b737f Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 26 Jul 2025 00:52:22 +0800 Subject: fix resolve path --- xmake/modules/utils/binary/deplibs.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/utils/binary/deplibs.lua') diff --git a/xmake/modules/utils/binary/deplibs.lua b/xmake/modules/utils/binary/deplibs.lua index 937570f14..b04604bf8 100644 --- a/xmake/modules/utils/binary/deplibs.lua +++ b/xmake/modules/utils/binary/deplibs.lua @@ -294,9 +294,9 @@ function _resolve_filepath(binaryfile, dependfile, opt) -- resolve path from the current loader directory on windows if not resolved and is_host("windows") then local loaderdir = path.directory(loaderfile) - local filepath = parh.absolute(dependfile, loaderdir) + local filepath = path.join(loaderdir, dependfile) if os.isfile(filepath) then - dependfile = filepath + dependfile = path.absolute(filepath) resolved = true end end -- cgit v1.3.1