006b44f705
Bring back llvm-config lib64 patch to build mesa with shared libs again OBS-URL: https://build.opensuse.org/request/show/180695 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=245
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
diff -ur llvm.orig/tools/llvm-config/llvm-config.cpp llvm/tools/llvm-config/llvm-config.cpp
|
|
--- llvm.orig/tools/llvm-config/llvm-config.cpp 2012-11-12 11:25:40.547628293 +0100
|
|
+++ llvm/tools/llvm-config/llvm-config.cpp 2012-12-02 15:09:31.981279773 +0100
|
|
@@ -231,15 +231,15 @@
|
|
switch (DevelopmentTreeLayout) {
|
|
case MakefileStyle:
|
|
ActiveBinDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/bin";
|
|
- ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib";
|
|
+ ActiveLibDir = ActiveObjRoot + "/" + LLVM_BUILDMODE + "/lib64";
|
|
break;
|
|
case CMakeStyle:
|
|
ActiveBinDir = ActiveObjRoot + "/bin";
|
|
- ActiveLibDir = ActiveObjRoot + "/lib";
|
|
+ ActiveLibDir = ActiveObjRoot + "/lib64";
|
|
break;
|
|
case CMakeBuildModeStyle:
|
|
ActiveBinDir = ActiveObjRoot + "/bin/" + LLVM_BUILDMODE;
|
|
- ActiveLibDir = ActiveObjRoot + "/lib/" + LLVM_BUILDMODE;
|
|
+ ActiveLibDir = ActiveObjRoot + "/lib64/" + LLVM_BUILDMODE;
|
|
break;
|
|
}
|
|
|
|
@@ -250,7 +250,7 @@
|
|
ActivePrefix = CurrentExecPrefix;
|
|
ActiveIncludeDir = ActivePrefix + "/include";
|
|
ActiveBinDir = ActivePrefix + "/bin";
|
|
- ActiveLibDir = ActivePrefix + "/lib";
|
|
+ ActiveLibDir = ActivePrefix + "/lib64";
|
|
ActiveIncludeOption = "-I" + ActiveIncludeDir;
|
|
}
|
|
|