Ignore:
Timestamp:
Dec 5, 2013, 9:28:37 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b8e82b7
Parents:
f2f8eec
Message:

Prevent XZ from installing static libraries in /lib

Location:
BOOK/final-system/multilib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/xz-64bit.xml

    rf2f8eec r058c1e7f  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
     28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4444    xpointer="xpointer(//*[@os='f'])"/>
    4545
    46 <screen os="g"><userinput>make pkgconfigdir=/usr/lib64/pkgconfig install</userinput></screen>
     46    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     47    href="xz.xml"
     48    xpointer="xpointer(//*[@os='g'])"/>
    4749
    4850    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5860    xpointer="xpointer(//*[@os='j'])"/>
    5961
    60     <screen os="k"><userinput>mv -v /lib64/liblzma.a /usr/lib64</userinput></screen>
     62<screen os="k"><userinput>mv -v /usr/lib64/liblzma.so.* /lib64
     63ln -svf ../../lib64/liblzma.so.&xz-version; /usr/lib64/liblzma.so</userinput></screen>
    6164
    6265  </sect2>
  • BOOK/final-system/multilib/xz-n32.xml

    rf2f8eec r058c1e7f  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/lib32</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4545    xpointer="xpointer(//*[@os='f'])"/>
    4646
    47 <screen os="g"><userinput>make pkgconfigdir=/usr/lib32/pkgconfig install</userinput></screen>
     47<screen os="g"><userinput>make install</userinput></screen>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5151    xpointer="xpointer(//*[@os='j'])"/>
    5252
    53 <screen os="k"><userinput>mv -v /lib32/liblzma.a /usr/lib32</userinput></screen>
     53<screen os="k"><userinput>mv -v /usr/lib32/liblzma.so.* /lib32
     54ln -svf ../../lib32/liblzma.so.&xz-version; /usr/lib32/liblzma.so</userinput></screen>
    5455
    5556  </sect2>
  • BOOK/final-system/multilib/xz.xml

    rf2f8eec r058c1e7f  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/lib</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4949    xpointer="xpointer(//*[@os='g'])"/>
    5050
    51     <para os="j">Move the static libraries to the proper location:</para>
     51    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     52    href="../common/xz.xml"
     53    xpointer="xpointer(//*[@os='j'])"/>
    5254
    53     <screen os="k"><userinput>mv -v /lib/liblzma.a /usr/lib</userinput></screen>
     55    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     56    href="../common/xz.xml"
     57    xpointer="xpointer(//*[@os='k'])"/>
    5458
    5559  </sect2>
Note: See TracChangeset for help on using the changeset viewer.