mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Document that --enable-shared puts PIC objects into the static libpython.
Fixes #589429.
This commit is contained in:
parent
d64845dbbe
commit
65069670b5
8
README
8
README
@ -642,7 +642,13 @@ Building a shared libpython
|
||||
Starting with Python 2.3, the majority of the interpreter can be built
|
||||
into a shared library, which can then be used by the interpreter
|
||||
executable, and by applications embedding Python. To enable this feature,
|
||||
configure with --enable-shared.
|
||||
configure with --enable-shared.
|
||||
|
||||
If you do so, a static library will be created in addition to the
|
||||
shared library, which uses the same object files as the shared library
|
||||
In particular, the library likely object files using
|
||||
position-independent code (PIC) if PIC flags are needed for the shared
|
||||
library.
|
||||
|
||||
|
||||
Configuring additional built-in modules
|
||||
|
Loading…
Reference in New Issue
Block a user