|
36 | 36 | # |
37 | 37 | # Finally, if a line contains just the word "*shared*" (without the |
38 | 38 | # quotes but with the stars), then the following modules will not be |
| 39 | +# built statically. The build process works like this: |
| 40 | +# |
| 41 | +# 1. Build all modules that are declared as static in Modules/Setup, |
| 42 | +# combine them into libpythonxy.a, combine that into python. |
| 43 | +# 2. Build all modules that are listed as shared in Modules/Setup. |
| 44 | +# 3. Invoke setup.py. That builds all modules that |
| 45 | +# a) are not builtin, and |
| 46 | +# b) are not listed in Modules/Setup, and |
| 47 | +# c) can be build on the target |
| 48 | +# |
| 49 | +# Therefore, modules declared to be shared will not be |
39 | 50 | # included in the config.c file, nor in the list of objects to be |
40 | 51 | # added to the library archive, and their linker options won't be |
41 | | -# added to the linker options, but rules to create their .o files and |
| 52 | +# added to the linker options. Rules to create their .o files and |
42 | 53 | # their shared libraries will still be added to the Makefile, and |
43 | 54 | # their names will be collected in the Make variable SHAREDMODS. This |
44 | 55 | # is used to build modules as shared libraries. (They can be |
45 | 56 | # installed using "make sharedinstall", which is implied by the |
46 | 57 | # toplevel "make install" target.) (For compatibility, |
47 | 58 | # *noconfig* has the same effect as *shared*.) |
48 | 59 | # |
49 | | -# In addition, *static* reverses this effect (negating a previous |
50 | | -# *shared* line). |
| 60 | +# In addition, *static* explicitly declares the following modules to |
| 61 | +# be static. Lines containing "*static*" and "*shared*" may thus |
| 62 | +# alternate thoughout this file. |
51 | 63 |
|
52 | 64 | # NOTE: As a standard policy, as many modules as can be supported by a |
53 | 65 | # platform should be present. The distribution comes with all modules |
|
0 commit comments