소스 검색

Definitly create /etc/ld.so.conf.d when doing ML, otherwise it's optional (because of role=nodump, the command appers in book but not in profiled xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11784 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Thomas Trepl 5 년 전
부모
커밋
d92249e3f4
1개의 변경된 파일13개의 추가작업 그리고 2개의 파일을 삭제
  1. 13 2
      chapter06/glibc.xml

+ 13 - 2
chapter06/glibc.xml

@@ -476,12 +476,23 @@ unset ZONEINFO</userinput></screen>
 </literal>
 EOF</userinput></screen>
 
-  <para>If desired, the dynamic loader can also search a directory and
+  <para arch="default">If desired, the dynamic loader can also search a directory and
   include the contents of files found there.  Generally the files in
   this include directory are one line specifying the desired library path.
   To add this capability run the following commands:</para>
 
-<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<screen role="nodump" arch="default"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
+<literal># Add an include directory
+include /etc/ld.so.conf.d/*.conf
+</literal>
+EOF
+mkdir -pv /etc/ld.so.conf.d</userinput></screen>
+
+  <para arch="ml_32,ml_x32,ml_all">The dynamic loader can also search a directory and
+  include the contents of files found there.  Generally the files in
+  this include directory are one line specifying the desired library path.
+  To add this capability run the following commands:</para>
+<screen arch="ml_32,ml_x32,ml_all"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
 <literal># Add an include directory
 include /etc/ld.so.conf.d/*.conf
 </literal>