Lines 1-7
Link Here
|
1 |
--- utils/llvm-build/llvmbuild/main.py.orig 2015-07-20 23:51:12 UTC |
1 |
--- utils/llvm-build/llvmbuild/main.py.orig 2014-11-19 04:34:20.000000000 +0100 |
2 |
+++ utils/llvm-build/llvmbuild/main.py |
2 |
+++ utils/llvm-build/llvmbuild/main.py 2015-12-21 11:15:34.356019000 +0100 |
3 |
@@ -718,7 +718,17 @@ def add_magic_target_components(parser, |
3 |
@@ -393,6 +393,8 @@ subdirectories = %s |
|
|
4 |
// |
5 |
//===----------------------------------------------------------------------===// |
4 |
|
6 |
|
|
|
7 |
+#include "llvm/Config/config.h" |
8 |
+ |
9 |
""") |
10 |
f.write('struct AvailableComponent {\n') |
11 |
f.write(' /// The name of the component.\n') |
12 |
@@ -413,7 +415,7 @@ subdirectories = %s |
13 |
if library_name is None: |
14 |
library_name_as_cstr = '0' |
15 |
else: |
16 |
- library_name_as_cstr = '"lib%s.a"' % library_name |
17 |
+ library_name_as_cstr = '"lib%s" LTDL_SHLIB_EXT' % library_name |
18 |
f.write(' { "%s", %s, %d, { %s } },\n' % ( |
19 |
name, library_name_as_cstr, is_installed, |
20 |
', '.join('"%s"' % dep |
21 |
@@ -718,7 +720,17 @@ def add_magic_target_components(parser, |
22 |
|
5 |
# We handle a few special cases of target names here for historical |
23 |
# We handle a few special cases of target names here for historical |
6 |
# reasons, as these are the names configure currently comes up with. |
24 |
# reasons, as these are the names configure currently comes up with. |
7 |
- native_target_name = { 'x86' : 'X86', |
25 |
- native_target_name = { 'x86' : 'X86', |