31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
|
--- llvm-3.1.src/tools/llvm-config/llvm-config.cpp.orig 2012-07-20 20:40:27.421755571 +0200
|
||
|
+++ llvm-3.1.src/tools/llvm-config/llvm-config.cpp 2012-07-20 20:39:59.212062264 +0200
|
||
|
@@ -230,15 +230,15 @@
|
||
|
switch (DevelopmentTreeLayout) {
|
||
|
case MakefileStyle:
|
||
|
ActiveBinDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/bin";
|
||
|
- ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib";
|
||
|
+ ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib/llvm";
|
||
|
break;
|
||
|
case CMakeStyle:
|
||
|
ActiveBinDir = ActiveObjRoot + "/bin";
|
||
|
- ActiveLibDir = ActiveObjRoot + "/lib";
|
||
|
+ ActiveLibDir = ActiveObjRoot + "/lib/llvm";
|
||
|
break;
|
||
|
case CMakeBuildModeStyle:
|
||
|
ActiveBinDir = ActiveObjRoot + "/bin/" + LLVM_BUILDMODE;
|
||
|
- ActiveLibDir = ActiveObjRoot + "/lib/" + LLVM_BUILDMODE;
|
||
|
+ ActiveLibDir = ActiveObjRoot + "/lib/llvm" + LLVM_BUILDMODE;
|
||
|
break;
|
||
|
}
|
||
|
|
||
|
@@ -249,7 +249,7 @@
|
||
|
ActivePrefix = CurrentExecPrefix;
|
||
|
ActiveIncludeDir = ActivePrefix + "/include";
|
||
|
ActiveBinDir = ActivePrefix + "/bin";
|
||
|
- ActiveLibDir = ActivePrefix + "/lib";
|
||
|
+ ActiveLibDir = ActivePrefix + "/lib/llvm";
|
||
|
ActiveIncludeOption = "-I" + ActiveIncludeDir;
|
||
|
}
|
||
|
|