diff options
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index bec875325..b1269f9ef 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -173,7 +173,7 @@ function builder:_addflags_from_targetdeps(results, target, flagname) elseif flagname == "rpathdirs" and targetkind == "binary" then -- add dependent rpathdirs (need absolute path) - table.insert(results, path.directory(path.absolute(dep:targetfile(), xmake._PROJECT_DIR))) + table.insert(results, path.directory(path.absolute(dep:targetfile(), os.projectdir()))) elseif flagname == "includedirs" then |
