llvm-config: Show OBJROOT rather than OBJROOT/BUILD_MODE in MakefileStyle.
[oota-llvm.git] / 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;