python: Also add --without-static-libpython to the temporary installation

Without it, in the final system
/usr/lib/python3.13/config-3.13-$triple/libpython3.13.a is a remnant
from chapter 7 instead of being absent, defeating our will to save
space.
This commit is contained in:
Xi Ruoyao 2025-06-01 21:49:48 +08:00
parent 455724dc34
commit 1b223fbe43
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 11 additions and 11 deletions

View File

@ -54,7 +54,8 @@
<screen><userinput remap="configure">./configure --prefix=/usr \
--enable-shared \
--without-ensurepip</userinput></screen>
--without-ensurepip \
--without-static-libpython</userinput></screen>
<variablelist>
<title>The meaning of the configure option:</title>
@ -74,6 +75,13 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--without-static-libpython</parameter></term>
<listitem>
<para>This switch prevents building a large, but unneeded, static
library.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>

View File

@ -77,14 +77,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--without-static-libpython</parameter></term>
<listitem>
<para>This switch prevents building a large, but unneeded, static
library.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>