llvm-config: Fix typo in help message introduced with r197664.
[oota-llvm.git] / tools / llvm-config / llvm-config.cpp
index 452f78f6af19b782cfeeaf7c6048b75c5fcb71b1..53368ff067ea5ae3c56b779eef4bf14d377006a0 100644 (file)
@@ -147,7 +147,7 @@ Options:\n\
   --cflags          C compiler flags for files that include LLVM headers.\n\
   --cxxflags        C++ compiler flags for files that include LLVM headers.\n\
   --ldflags         Print Linker flags.\n\
-  --system-libs     Sytem Libraries needed to link against LLVM components.\n\
+  --system-libs     System Libraries needed to link against LLVM components.\n\
   --libs            Libraries needed to link against LLVM components.\n\
   --libnames        Bare library names for in-tree builds.\n\
   --libfiles        Fully qualified library filenames for makefile depends.\n\
@@ -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;