From: Martin v. Löwis Date: Sat, 3 Aug 2002 21:38:27 +0000 (+0000) Subject: Document that --enable-shared puts PIC objects into the static libpython. X-Git-Tag: v2.3c1~4741 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65069670b5328ea301113a501ab8568760d4cebe;p=python Document that --enable-shared puts PIC objects into the static libpython. Fixes #589429. --- diff --git a/README b/README index 1719385a37..de1ec59a1e 100644 --- a/README +++ b/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