2014-09-04 18:28:42 +02:00
|
|
|
Index: llvm-3.5.0.src/tools/llvm-config/llvm-config.cpp
|
|
|
|
===================================================================
|
|
|
|
--- llvm-3.5.0.src.orig/tools/llvm-config/llvm-config.cpp
|
|
|
|
+++ llvm-3.5.0.src/tools/llvm-config/llvm-config.cpp
|
|
|
|
@@ -243,16 +243,16 @@ int main(int argc, char **argv) {
|
2013-06-26 12:07:09 +02:00
|
|
|
case MakefileStyle:
|
2014-09-04 18:28:42 +02:00
|
|
|
ActivePrefix = ActiveObjRoot;
|
|
|
|
ActiveBinDir = ActiveObjRoot + "/" + build_mode + "/bin";
|
|
|
|
- ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib";
|
|
|
|
+ ActiveLibDir = ActiveObjRoot + "/" + build_mode + "/lib64";
|
2013-06-26 12:07:09 +02:00
|
|
|
break;
|
|
|
|
case CMakeStyle:
|
|
|
|
ActiveBinDir = ActiveObjRoot + "/bin";
|
|
|
|
- ActiveLibDir = ActiveObjRoot + "/lib";
|
|
|
|
+ ActiveLibDir = ActiveObjRoot + "/lib64";
|
|
|
|
break;
|
|
|
|
case CMakeBuildModeStyle:
|
2014-09-04 18:28:42 +02:00
|
|
|
ActivePrefix = ActiveObjRoot;
|
|
|
|
ActiveBinDir = ActiveObjRoot + "/bin/" + build_mode;
|
|
|
|
- ActiveLibDir = ActiveObjRoot + "/lib/" + build_mode;
|
|
|
|
+ ActiveLibDir = ActiveObjRoot + "/lib64/" + build_mode;
|
2013-06-26 12:07:09 +02:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
2014-09-04 18:28:42 +02:00
|
|
|
@@ -263,7 +263,7 @@ int main(int argc, char **argv) {
|
2013-06-26 12:07:09 +02:00
|
|
|
ActivePrefix = CurrentExecPrefix;
|
|
|
|
ActiveIncludeDir = ActivePrefix + "/include";
|
|
|
|
ActiveBinDir = ActivePrefix + "/bin";
|
|
|
|
- ActiveLibDir = ActivePrefix + "/lib";
|
|
|
|
+ ActiveLibDir = ActivePrefix + "/lib64";
|
|
|
|
ActiveIncludeOption = "-I" + ActiveIncludeDir;
|
|
|
|
}
|
2014-09-04 18:28:42 +02:00
|
|
|
|