diff options
Diffstat (limited to 'lld/ELF/DriverUtils.cpp')
-rw-r--r-- | lld/ELF/DriverUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/DriverUtils.cpp b/lld/ELF/DriverUtils.cpp index 03072a5733e..f6ed1d555ed 100644 --- a/lld/ELF/DriverUtils.cpp +++ b/lld/ELF/DriverUtils.cpp @@ -139,7 +139,7 @@ static std::string quote(StringRef S) { static std::string rewritePath(StringRef S) { if (fs::exists(S)) - return getDestPath(S); + return relativeToRoot(S); return S; } |