aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/python.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/python.xml')
-rw-r--r--chapter07/python.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/chapter07/python.xml b/chapter07/python.xml
index a3b9239cf..68a02dd8c 100644
--- a/chapter07/python.xml
+++ b/chapter07/python.xml
@@ -52,12 +52,21 @@
<para>Prepare Python for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --enable-shared \
+ --without-ensurepip</userinput></screen>
<variablelist>
<title>The meaning of the configure option:</title>
<varlistentry>
+ <term><parameter>--enable-shared</parameter></term>
+ <listitem>
+ <para>This switch prevents installation of static libraries.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--without-ensurepip</parameter></term>
<listitem>
<para>This switch disables the Python package installer, which is not