mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Document that --enable-shared puts PIC objects into the static libpython.
Fixes #589429.
This commit is contained in:
parent
d64845dbbe
commit
65069670b5
1 changed files with 7 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue