llvm-config: Show OBJROOT rather than OBJROOT/BUILD_MODE in MakefileStyle.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Dec 2013 17:35:52 +0000 (17:35 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Dec 2013 17:35:52 +0000 (17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197818 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-config/llvm-config.cpp

index 452f78f6af19b782cfeeaf7c6048b75c5fcb71b1..2ee1da63128433ca45262e4d2dd0048f8eba455b 100644 (file)
@@ -240,6 +240,7 @@ int main(int argc, char **argv) {
     // layout.
     switch (DevelopmentTreeLayout) {
     case MakefileStyle:
+      ActivePrefix = ActiveObjRoot;
       ActiveBinDir = ActiveObjRoot + "/" + build_mode + "/bin";
       ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib";
       break;