mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:29:08 +08:00
63d9dcdd7e
Fixes #37189 - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
17 lines
752 B
Diff
17 lines
752 B
Diff
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 d5b76b1bb6c1..9fedcb2ab75f 100644
|
|
--- a/llvm/tools/llvm-config/llvm-config.cpp
|
|
+++ b/llvm/tools/llvm-config/llvm-config.cpp
|
|
@@ -304,7 +304,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).
|