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
@ -52,9 +52,10 @@
|
||||
|
||||
<para>Prepare Python for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--without-ensurepip</userinput></screen>
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user