diff options
| author | ruki <[email protected]> | 2025-07-26 00:52:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-07-26 00:52:22 +0800 |
| commit | 163ed4a33a78904a2425c5ca7a6e9b53262b737f (patch) | |
| tree | f8d1557f7fd222b66b429d344776d702cc304c8f /xmake/modules/utils/binary/deplibs.lua | |
| parent | e2f78c5d480c987f68fa74ca8fb114c20c6bb726 (diff) | |
fix resolve path
Diffstat (limited to 'xmake/modules/utils/binary/deplibs.lua')
| -rw-r--r-- | xmake/modules/utils/binary/deplibs.lua | 4 |
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 |
