summaryrefslogtreecommitdiff
path: root/xmake/modules/utils/binary/deplibs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/utils/binary/deplibs.lua')
-rw-r--r--xmake/modules/utils/binary/deplibs.lua4
1 files changed, 2 insertions, 2 deletions
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