mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
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:
parent
455724dc34
commit
1b223fbe43
@ -54,7 +54,8 @@
|
|||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--without-ensurepip</userinput></screen>
|
--without-ensurepip \
|
||||||
|
--without-static-libpython</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure option:</title>
|
<title>The meaning of the configure option:</title>
|
||||||
@ -74,6 +75,13 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
@ -77,14 +77,6 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user