Use /usr/lib for libc_cv_rtlddir

This commit is contained in:
Thomas Trepl (Moody) 2021-05-14 12:54:44 +02:00
parent f5c3bf6e7e
commit 1b1acbed65
2 changed files with 8 additions and 8 deletions

View File

@ -81,7 +81,7 @@ cd build</userinput></screen>
--enable-kernel=&min-kernel; \ --enable-kernel=&min-kernel; \
--with-headers=$LFS/usr/include \ --with-headers=$LFS/usr/include \
libc_cv_slibdir=/usr/lib \ libc_cv_slibdir=/usr/lib \
libc_cv_rtlddir=/lib</userinput></screen> libc_cv_rtlddir=/usr/lib</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the configure options:</title> <title>The meaning of the configure options:</title>
@ -123,7 +123,7 @@ cd build</userinput></screen>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><parameter>libc_cv_rtlddir=/lib</parameter></term> <term><parameter>libc_cv_rtlddir=/usr/lib</parameter></term>
<listitem> <listitem>
<para>Fix hardcoded path to the executable loader in the <para>Fix hardcoded path to the executable loader in the
<command>ldd</command> script.</para> <command>ldd</command> script.</para>
@ -193,12 +193,12 @@ cd build</userinput></screen>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
<!--
<para>Fix hardcoded path to the executable loader in <para>Fix hardcoded path to the executable loader in
<command>ldd</command> script:</para> <command>ldd</command> script:</para>
<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd</userinput></screen> <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i $LFS/usr/bin/ldd</userinput></screen>
-->
<caution> <caution>
<para>At this point, it is imperative to stop and ensure that the basic <para>At this point, it is imperative to stop and ensure that the basic
functions (compiling and linking) of the new toolchain are working as functions (compiling and linking) of the new toolchain are working as

View File

@ -73,7 +73,7 @@ cd build</userinput></screen>
--enable-stack-protector=strong \ --enable-stack-protector=strong \
--with-headers=/usr/include \ --with-headers=/usr/include \
libc_cv_slibdir=/usr/lib \ libc_cv_slibdir=/usr/lib \
libc_cv_rtlddir=/lib</userinput></screen> libc_cv_rtlddir=/usr/lib</userinput></screen>
<variablelist> <variablelist>
<title>The meaning of the configure options:</title> <title>The meaning of the configure options:</title>
@ -122,7 +122,7 @@ cd build</userinput></screen>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><parameter>libc_cv_rtlddir=/lib</parameter></term> <term><parameter>libc_cv_rtlddir=/usr/lib</parameter></term>
<listitem> <listitem>
<para>Fix hardcoded path to the executable loader in the <para>Fix hardcoded path to the executable loader in the
<command>ldd</command> script.</para> <command>ldd</command> script.</para>
@ -223,12 +223,12 @@ esac</userinput></screen>
<para>Install the package:</para> <para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen> <screen><userinput remap="install">make install</userinput></screen>
<!--
<para>Fix hardcoded path to the executable loader in <para>Fix hardcoded path to the executable loader in
<command>ldd</command> script:</para> <command>ldd</command> script:</para>
<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen> <screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
-->
<para>Install the configuration file and runtime directory for <para>Install the configuration file and runtime directory for
<command>nscd</command>:</para> <command>nscd</command>:</para>