Changeset faf50d8 in clfs-embedded


Ignore:
Timestamp:
Oct 12, 2017, 11:15:58 AM (19 months ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
adfc846
Parents:
422ad1f
Message:

beyond: zlib: Install into both cross-tools and targetfs

So that we have headers and libs all provided in the cross tools to
enable compiling things that use zlib but also so we have the runtime
shared object in the targetfs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/beyond/common/zlib.xml

    r422ad1f rfaf50d8  
    4646<screen os="d"><userinput>make</userinput></screen>
    4747
    48     <para os="e">Install the package:</para>
     48    <para os="e">Install the package into the cross-tools:</para>
    4949
    5050<screen os="f"><userinput>make prefix=${CLFS}/cross-tools/${CLFS_TARGET} install</userinput></screen>
     51
     52    <para os="g">Copy only the shared library into the target file system and
     53      ensure that its symlink is present so the runtime loader can find it:</para>
     54
     55    <screen os="h"><userinput>cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/libz.so.&zlib-version; ${CLFS}/targetfs/lib/
     56ln -sv libz.so.&zlib-version; ${CLFS}/targetfs/lib/libz.so.1</userinput></screen>
    5157
    5258  </sect2>
Note: See TracChangeset for help on using the changeset viewer.