From d4cf97ba5168347e0cef385979f2446f951752f7 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 19 Dec 2013 16:02:28 +0000 Subject: [PATCH] llvm-config: Don't show build tree with --obj-root for installed llvm-config. Show $(prefix) instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197684 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-config/llvm-config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp index fa568e67270..2bd11370a9d 100644 --- a/tools/llvm-config/llvm-config.cpp +++ b/tools/llvm-config/llvm-config.cpp @@ -320,7 +320,7 @@ int main(int argc, char **argv) { OS << "ON\n"; #endif } else if (Arg == "--obj-root") { - OS << LLVM_OBJ_ROOT << '\n'; + OS << ActivePrefix << '\n'; } else if (Arg == "--src-root") { OS << LLVM_SRC_ROOT << '\n'; } else {