early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/llvm/0005-fix-tools-path.patch
vendored
Executable file
16
externals/vcpkg/ports/llvm/0005-fix-tools-path.patch
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
llvm/tools/llvm-config/llvm-config.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
|
||||
index 8ed88f33ead4..3f2d1b98adcc 100644
|
||||
--- a/llvm/tools/llvm-config/llvm-config.cpp
|
||||
+++ b/llvm/tools/llvm-config/llvm-config.cpp
|
||||
@@ -305,7 +305,7 @@ int main(int argc, char **argv) {
|
||||
// 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).
|
Reference in New Issue
Block a user