mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 09:47:51 +08:00
15 lines
736 B
Diff
15 lines
736 B
Diff
|
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
|
||
|
index 53ba24efc00..0badcafe000 100644
|
||
|
--- a/llvm/tools/llvm-config/llvm-config.cpp
|
||
|
+++ b/llvm/tools/llvm-config/llvm-config.cpp
|
||
|
@@ -304,8 +304,8 @@ int main(int argc, char **argv) {
|
||
|
// Create an absolute path, and pop up one directory (we expect to be inside a
|
||
|
// bin dir).
|
||
|
sys::fs::make_absolute(CurrentPath);
|
||
|
CurrentExecPrefix =
|
||
|
- sys::path::parent_path(sys::path::parent_path(CurrentPath)).str();
|
||
|
+ sys::path::parent_path(sys::path::parent_path(sys::path::parent_path(CurrentPath))).str();
|
||
|
|
||
|
// Check to see if we are inside a development tree by comparing to possible
|
||
|
// locations (prefix style or CMake style).
|